Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what after registering #145

Open
krzakplyt1 opened this issue Jun 3, 2024 · 0 comments
Open

what after registering #145

krzakplyt1 opened this issue Jun 3, 2024 · 0 comments

Comments

@krzakplyt1
Copy link

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())
    ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant