-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm new at this, registered account, and now it says account already registered
import json
import asyncio
from vulcan import Vulcan
from vulcan import Account
from vulcan import Keystore
async def main():
keystore = await Keystore.create()
with open("keystore.json", "w") as f:
# write a formatted JSON representation
f.write(keystore.as_json)
account = await Account.register(keystore, "*", "*", "*")
with open("account.json", "w") as f:
# write a formatted JSON representation
f.write(account.as_json)
if __name__ == '__main__':
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```
Metadata
Metadata
Assignees
Labels
No labels