Closed keyBM closed 5 years ago
Thank you by the way! I want to create an EOS account with scatterJS and create an identity for the account in my scatter
Sure, scatter-js and Scatter Desktop have flows which support that.
Here's the algorithm for it:
suggestNetwork(network)
API Reference - This will allow you to add a network to the user's Scatter if not using mainnet.getPublicKey('eos')
API Reference - This will allow the user to either provide or generate a key for you to use.linkAccount(account, network)
API Reference - Once an account is created you can use this to link the account to the user's Scatter.login()
or getIdentity()
- Now all you need to do is log in.There is also an undocumented ScatterJS.hasAccountFor(network)
which you can use before anything to check if the user already has an account for that network.
Thank you very much!thank you!
On 03/14/2019 18:50, Nathan James wrote:
There is also an undocumented ScatterJS.hasAccountFor(network) which you can use before anything to check if the user already has an account for that network.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'm not sure I understand the question. Can you give me a bit more information about what you are trying to do, and what you've already tried?