Skip to content

what after registering #145

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())
    ```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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