Solana Step 5 funding account not working (Unable to fund address: Non-base58 character)
benjacksondev opened this issue · 1 comments
benjacksondev commented
I get the following error at Step 5 when trying to fund the account on devnet.
Steps to recreate.
- Start Up Gitpod.
- Copy and paste solutions in corresponding files and run through the samples up until Step 5
- Copy and paste sample at Step 5 same as before and run; see error below:
"error":{
"message":"Non-base58 character"
"file":"/api/solana/fund"
"args":{
"address":"[object Object]"
"network":"devnet"
}
}
benjacksondev commented
On step 4 I had const address = keypair.toString();
instead of const address = keypair?.publicKey.toString();
, which allowed the step to pass but was assigning [object, object] rather than the publicKey value to the address const.