Open 0xpatrickdev opened 1 week ago
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
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, andagoric125d8s0tamx50gpqdd3m7f5gtkzkcnjs0ehsujr
is not in the keyring of the docker container.Expected Behavior
I suggest we do some combination of:
put a
TEST_MNEMONIC
var in the Makefile, and ensure we doagd keys add --keyring-backend=test --interactive
to add it.Put the MNEMONIC in the README, so devs can add it to keplr and use the UI
A better (higher effort) approach:
Add faucet functionality to the UI
Add smart wallet provisioning to the UI