Skip to content

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

@legkvla

Description

@legkvla

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions