Closed ryancwalsh closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed as there was no updates after being inactive for 2 months and stale for additional week. Thank you for your contributions.
I haven't found documentation for how to do this.
I started with:
Then I tried the
near create_account
step at https://github.com/near/nearup/issues/64#issuecomment-633654830I got these errors:
Notice that "occured" is misspelled in that message.
I then also needed to run
sudo chown -R rcwalsh:rcwalsh ~/.near
.Then this seemed to successfully create a new account:
near create-account justatemporarylocalaccount.node0 --masterAccount node0 --initialBalance 1000 --keyPath ~/.near/localnet/node0/validator_key.json
But now when I use
near call
on a contract, I get error:If I then run
ln -s ~/.near/localnet/node0/validator_key.json /home/rcwalsh/.near/validator_key.json
(which is just a guess, and I haven't seen any documentation saying to do this) before running mynear call
command, I then get this error:My contract's
offerMatchingFunds
function already works on testnet. I'm just trying to learn localnet now.What am I doing wrong?
Thanks.