avalanche-smart-contract-quickstart icon indicating copy to clipboard operation
avalanche-smart-contract-quickstart copied to clipboard

Refund script doesn't work properly on local network

Open legkvla opened this issue 2 years ago • 0 comments

I tried to follow your manual https://docs.avax.network/dapps/smart-contracts/using-hardhat-with-the-avalanche-c-chain

this part works fine:

yarn accounts --network local
yarn balances --network local

and got stuck with:

yarn fund-cchain-addresses --network local

Got such errors:

Error - Base58.decode: not a valid base58 string Exporting 1000 AVAX to each address on the C-Chain... Error: problem decoding transaction: missing 0x prefix to hex encoding at AVMAPI. (/Users/apple/dev/smartcontracts/avalanche-smart-contract-quickstart/node_modules/src/common/jrpcapi.ts:68:15) at Generator.next () at fulfilled (/Users/apple/dev/smartcontracts/avalanche-smart-contract-quickstart/node_modules/avalanche/dist/common/jrpcapi.js:9:58) at processTicksAndRejections (node:internal/process/task_queues:95:5)

legkvla avatar Aug 07 '22 06:08 legkvla