You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's nothing we can do at the time. Response from Stan:
Marcin:
Hey @stanimal. I want to create a default account when a user launches Tari Universe for the first time. I tried to use accounts.create, but I got an error: Store error: [accounts_get_default] account not found with key default. The only working solution I found is the get_or_create_account function, which cannot be called by Tari Universe in the current implementation. Should I make it accessible for calling from the outside, or is there another easy way to accomplish this?
Stan:
Hey @marcinpapiez, this is an area I'd like to improve. One proposal written here: tari-project/tari-dan#1058
For now I suggest that you use the accounts.create_free_test_coins call which will create the account and fund it. In future this call will be removed (because it creates coins out of thin air) but it should help with testing at this stage and will create the account if it doesn't exist.
The text was updated successfully, but these errors were encountered:
We can augment accounts.create to behave like accounts.create_free_test_coins which is a quicker change. Let me know if that is something you'd like sooner. I'd still like to allow deriving and depositing into an account whether it exists or not, but that will take a little longer and still needs discussion.
There's nothing we can do at the time. Response from Stan:
Marcin:
Stan:
The text was updated successfully, but these errors were encountered: