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

make fund results in Error: key with address not found #90

Open
0xpatrickdev opened this issue Nov 14, 2024 · 1 comment
Open

make fund results in Error: key with address not found #90

0xpatrickdev opened this issue Nov 14, 2024 · 1 comment

Comments

@0xpatrickdev
Copy link
Member

When following the current README's make fund step, I see Error: key with address agoric125d8s0tamx50gpqdd3m7f5gtkzkcnjs0ehsujr not found: key not found.

This is because agd tx swingset provision-one wallet requires that the provisionee is the caller, and agoric125d8s0tamx50gpqdd3m7f5gtkzkcnjs0ehsujr is not in the keyring of the docker container.

Expected Behavior

I suggest we do some combination of:

  1. put a TEST_MNEMONIC var in the Makefile, and ensure we do agd keys add --keyring-backend=test --interactive to add it.

  2. Put the MNEMONIC in the README, so devs can add it to keplr and use the UI

A better (higher effort) approach:

  1. Add faucet functionality to the UI

  2. Add smart wallet provisioning to the UI

@0xpatrickdev
Copy link
Member Author

A workaround for now is:

yes "bunker give suggest edit supply paper follow myself smoke elephant injury equal" | kubectl exec -i agoriclocal-genesis-0 -c validator -- agd keys add danKey --interactive --recover


{"name":"danKey","type":"local","address":"agoric1yf4uwauecsmw6uu44sa8nsulfh6xc40kdu83v9","pubkey":"{\"@type\":\"/cosmos.crypto.secp256k1.PubKey\",\"key\":\"A2e0/kuWPbStz2ESMocRuIM3rFAWbCFXEFL9V4DeFlFp\"}"}

Where bunker... is a test mnemonic

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

1 participant