Creating an Account
There are two ways to create an account.
  1. 1.
    With Python-Peerplays: If you already have an account, it can be used to create another account.
  2. 2.
    With the Faucet: To create an account without an existing account.

The Python-Peerplays Method

You need a funded account to create additional accounts. The funded account should be upgraded to create new accounts. To upgrade an account
1
p.upgrade_account(account="account_name")
Copied!
Once the account is upgraded
p.create_account(account_name="new_account_name", registrar="the_upgraded_account", owner_key='TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV', active_key='TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV', memo_key='TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV')

The Faucet Method

1
params = {'account': {
2
'name': 'new_account_name',
3
'owner_key': 'TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV',
4
'active_key': 'TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV',
5
'memo_key': 'TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV',
6
'refcode': '',
7
'referrer': ''}}
Copied!
requests.post(url, json=params)

Additional Methods

1
p.transfer(to, amount, asset, memo="", account=None)
Copied!