-
Notifications
You must be signed in to change notification settings - Fork 51
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
How to handle the account after create account. #254
Comments
I have tried to use as follows. context.on('login', async (account) => console.log(account)); But there is no console log output and it seems there is no connection via login emit. How can handle logged accounts as a response? |
The For your second point, the |
@swansontec I tried to use 3 methods.
It seems all these 3 methods are working, but I can't get any response. I wonder how to handle EageAccount to createWallet or getWalletInfo. |
EdgeAccount has many methods. Take a look at the Flow types to see their definitions: edge-core-js/src/types/types.js Line 772 in 4bf7864
If you call All the wallets you create will go into the |
@swansontec I know that there are several methods for wallet using EdgeAccount. But I think there is no method to handle EdgeAccount.
I tried to use the above 3 methods but can't get any response. |
Also regarding createCurrencyWallet, |
{ init: |
Just for future reference, we found that the problem was addEdgeCorePlugins(...)
addEdgeCorePlugins(...)
lockEdgeCorePlugins(...) Once the Also, |
Thanks for your note, @swansontec After login, I logout using account.logout(), then, I got a connection lost error and my project is broken. Is there any way to log out safety? And sometimes, I got an web socket connection error before make transactions using makespend method. I think this is the same problem. |
The |
Hello @superhero2007, |
const abc = require('edge-core-js');
const context = await abc.makeEdgeContext({
apiKey: API_KEY,
appId: APP_ID,
});
const { username, password } = user;
const re = await abcContext.loginWithPassword(
username,
password
);
console.log("Result:", re);
But I can't get edgeaccount after login though there is a new folder called edge wallet created and login account file is created.
The text was updated successfully, but these errors were encountered: