avalanche-smart-contract-quickstart
avalanche-smart-contract-quickstart copied to clipboard
Refund script doesn't work properly on local network
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.