I am using a ETH full node server (geth) with RPC Server to operate some operations in server side (Generate wallet, send transaction).
I would like to generate USDT wallet for my users but I coud not find any good documentation on this.
Do you know how to create a USDT wallet from ETH NODE RPC ?
There is no such concept as "USDT wallet" - you have made up that yourself.
Any Ethereum address can receive any token.
Related
I have my own ETH Node and use it to generate wallet and transfer tokens with JSON RPC.
I import transactions by parsing all blocks with a service side job.
The problem is that I would like to import transactions from ERC20 tokens in the same way if possible but I only see advice to do it in frontend side by subscribing to event.
There is no way to know if transaction has been linked to erc20 tokens when parsing block transactions ?
Thanks
I've been searching for a while, but I can't seem to find an answer to this so it would be very helpful if someone can clarify this 😣.
Let's say i have TokenA as an ERC20 deployed to the Ethereum mainnet and I have TokenB as an SPL deployed in the Solana Blockchain.
Is there any way of exchanging those 2 Tokens?
I know with Uniswap I can create my own pool and put some liquidity for my Token, and then swap it with the Selected pair. Eg. TokenA/ETH
But in the case above, the 2 tokens are part of different Blockchains..
Thank you very much
The sol wallet will be different from the ERC wallet
You can create smart contract for recieve etherium and one for sol
And by the use of molaris server add watcher for event on the 2 contract when one of them recieve the token and the recieve wallet for the other blockchain run script from the molaris server for transfer token for the address from the other blockchain
Sorry for bad English
I am learning node JS developing a crypto currency exchanger as a homework project where user can deposit ERC-20 token and Ethereum. I am generating unique ethereum deposit address for every user, where they can deposit ERC-20 token and ethereum. but after sometime I want to move the received ethereum and ERC-20 token to another address (cold wallet).
If someone only send ERC-20 token to the address and no etherum, then how I'll get ethereum to pay as gas fee to transfer the received ERC-20 token to cold wallet?
If suppose, I am first paying etherum (for gas fee) from cold address to the user address, and then using that etherum to transfer received ERC-20 token, will it work at mass level ? means if 10000 users do the same thing at the same time, will not it create a problem ? or is there any better solution for this?
If there's no eth in that account, you can't take the ERC-20 token out.
Transfer some eth to the address and then get ERC-20 token out is the only way. The problem is how to save the gas as far as you can.
You can write a batch transfer contract to send eth to several hundred addresses in one go (the ceiling is determined by block gas limit), batch transfer saves gas. Then you can collect the ERC-20 tokens.
Of course, you can charge your user for compensation.
I'm using wallet connect for Eth transaction in my app.
but now need transact an ERC-20 token and don't know how do that
It has passed 8 months, but I'll answer.
You need to first approve on the sender side and do the transaction later. WalletConnect only uses Mainnet, so test it using https://test.walletconnect.org/ or first work on the Metamask testnets and apply to Walletconnect
I am new to the Ethereum network. I want to develop a wallet (on JavaScript and Node.js) for USDT based on the ERC20 token on the Ethereum network.
Can it be built on JavaScript and Node.js?
Also USDT is a tether-based cryptocurrency whose value is about equal to US$1. So for example, USDT on the ERC20 network works on Ether addresses. So if I send 1Â ETH to that address then will it be automatically converted to current ETH value to USDT? (i.e, approximately 273$)?
I am learning Ether on Ether's documentation, so do I need anything else to learn and create a USDT and ETH wallet?
Yes, it can be built using JavaScript and Node.js.
And if you send 1 ETH (US$273) to some other address, you will receive 1 ETH, not 273Â USDT. The value is not converted automatically. You'll have to exchange your 1Â ETH against 273Â USDT.