The purpose of this page is to document the use of PeerPlays's faucet API to register new accounts on PeerPlays.
The general endpoint for referral API is available at the currently open address.
Both endpoints expect the following path in order to reach the actual faucet:
/api/v1/accounts
A single IP may only request a new account once per hour.
In order to create a new account through this faucet, you need a POST
request with a JSON formated body.
{
"account":{
"name":"account-name",
"owner_key":"PPY5WaszCsqVN9hDkXZPMyiUib3dyrEA4yd5kSMgu28Wz47B3wUqa",
"active_key":"PPY5TPTziKkLexhVKsQKtSpo4bAv5RnB8oXcG4sMHEwCcTf3r7dqE",
"memo_key":"PPY5TPTziKkLexhVKsQKtSpo4bAv5RnB8oXcG4sMHEwCcTf3r7dqE",
}
}
The *_key
keys have to be valid public keys for the PeerPlays network!
The request's reply will have the following form:
{
"account":{
"name":"account-name",
"owner_key":"PPY5WaszCsqVN9hDkXZPMyiUib3dyrEA4yd5kSMgu28Wz47B3wUqa",
"active_key":"PPY5TPTziKkLexhVKsQKtSpo4bAv5RnB8oXcG4sMHEwCcTf3r7dqE",
"memo_key":"PPY5TPTziKkLexhVKsQKtSpo4bAv5RnB8oXcG4sMHEwCcTf3r7dqE",
"referrer": ""
}
}