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

How to receive and send tokens via different network in this wallet? #81

Open
zydjohnHotmail opened this issue Dec 5, 2022 · 0 comments

Comments

@zydjohnHotmail
Copy link

Hello:
I have been using Brave web browser for a few years now, but only until recently I know that you have a built-in wallet.
I want to know a few things for using the wallet, especially with API (node.js)
First, I want to know if I can receive tokens from one network, and send the tokens to another address via another network.
One example is: if I want to receive some USDT via ERC20 network, then I want to send the received USDT, less the gas fees to another address via BEP20 network.
Let me know if this can be done by hand, and if yes, let me know can this be done by API (node.js)
Second, I read the documents, but I didn’t see that this wallet support Bitcoin or the tokens on Bitcoin network, let me know if the wallet supports Bitcoin and the tokens on Bitcoin network.
Finally, I don’t know how to use the API, for example node.js.
I have experience using Node.js for CCXT, just install npm package, then write some node.js script, then use node to run the node.js script, I can see the results on the DOS command line window.
But how can I run node.js for Brave wallet?
Just install npm package, write some code: like check account balance for USDT, if any, then transfer received USDT to another address via BEP20 network.
Then simply run the node.js code?
Do I have to start Brave web browser first, and like open the developer tools, and run JavaScript code there? But I don’t know if Brave browser support node.js or not.
Finally, does your wallet support other network, like HECO (Huobipro), or you can show me how to add HECO network via code?
I need its RPC url? Like: https://http-mainnet.hecochain.com
And token's contract address, like: BAGS(BASIS GOLD SHARE)
0xd4c8fb1f548c66b007c17575cb5aae4894475f0c
Anything else?
Please advice,

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