Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refund script doesn't work properly on local network #41

Open
legkvla opened this issue Aug 7, 2022 · 0 comments
Open

Refund script doesn't work properly on local network #41

legkvla opened this issue Aug 7, 2022 · 0 comments

Comments

@legkvla
Copy link

legkvla commented Aug 7, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@legkvla and others