Closed AscThilanka closed 2 years ago
For Aurora you need have >> AURORA TOKEN to pay "gas" to send transaction :)
ETH token is not the base currency of the AURORA BLOCKCHAIN
You can get Aurora when SWAP eth to aurora
@banlieu451 appreciate for your reply, now i've managed to deploy contract but when I try to transfer some funds to contract, metamask giving an "Contract Interaction - fail"
any thoughts on that?
Yes the contract doesn't have a payable function so you cant send the native asset. You can only send and withdraw erc20 tokens. Most dexes actually use a wrapped version of the native asset so eth-uni pool is actually weth. The native asset eth is wrapped in a erc20 contract known as weth.
Gas fees are still paid from the account in .env in the native asset when interacting with the contract
@banlieu451 appreciate for your reply, now i've managed to deploy contract but when I try to transfer some funds to contract, metamask giving an "Contract Interaction - fail"
any thoughts on that?
you need run on console the scripts "fund.js" (to send base asset to "(contract deployed)" and script trade.js to run it
Big thanks for the help James ! :)
Hi, i've my private key and tried to deploy contract to mainnet, and it gives following error. i already have around 140 USD worth ETH in my wallet for gas,
any help would be appreciate !