dexX7 / py-omniswaps

Python implementation of atomic swap with Omni Core and P2SH "locks"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Next Public Key: 201 Public Key Created

dexX7 opened this issue · comments

commented

Endpoint:

POST /getnextpubkey

Request:

---

Response:

Status: 201 OK
{
  "pubkey": "024c057b5f8e0b444fb2987989e12129af834a173f6374bb1f2a0b6af6b34cb5ee"
}

Mechanism:

  1. Create new key pair
  2. Store key as "unused"
  3. Return public key
commented

Probably outdated.