Hi anyone knows how to get erc20 token for testing when running “ganache-cli fork” from mainnet?
I mean my test accounts have no tokens on mainnet
Nov 2, 2021, 5:51 AM
in my understanding, ganache-cli won't verify the sender's signature, so in theory (haven't tried yet) you can use any address (i.e. owner) that has that token
Nov 2, 2021, 5:53 AM
Oh really? let me have a try, Thanks
Um no lucky
```shell
```shell
js
const transferToUserFIL = await filOnBsc.transfer(stakinguser1.address,toWei('1000'))
const transferToUserFIL = await filOnBsc.transfer(stakinguser1.address,toWei('1000'))
I want to transfer FIL on bsc local testnet (i forked from bsc mainnet) But failed
Any ideas for solving this? thanks
Any ideas for solving this? thanks
Nov 2, 2021, 6:03 AM
Confirmed working on my side. I used eth-brownie
Nov 2, 2021, 6:19 AM
Ok maybe ganache has no such feature yet ?
Nov 2, 2021, 6:56 AM
eth-brownie uses ganache-cli
Nov 2, 2021, 7:11 AM
Could you help to show me the command you are using?
I want to check the eth-brownie code and wish could find useful info
I want to check the eth-brownie code and wish could find useful info
Nov 2, 2021, 10:21 AM