Похожее видео
Hi! This is a part 2 of how to create your node.js bot application that is swapping tokens by calling the OneSplit smart contract of 1INCH DEX aggregator. Im forking a blockchain by using ganache-cli and Im unlocking an existing account on Ethereum. Project repository: __________ If you want to test it on Ethereum mainnet on your own risk and add you private keys. This may give you some clues on where to start with it: 1. Store your private key in a secure way e.g. by using environment variables stored in .env file 2. Infuras public node cannot sign the transaction on your behalf so you need to first sign it for approving the token spending and then broadcast it to other nodes. e.g. 3. You may also want to integrate your Metamask wallet directly with 1inch website and just simply call their API to approve spending Thanks for watching!,
Похожее видео