Skip to content

what after registering #145

@krzakplyt1

Description

@krzakplyt1

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions