testnet CLI: Created Wallet with curl --request POST command … Sent Transactions … Now not present
I am just tinkering with Cardano through the testnet. I’ve hit a roadblock and looking for any insight with a wallet that I’ve created and am not able to access any longer.
I created a wallet with the command below following some guidance on the developers.cardano.org site:
curl --request POST \
--url http://localhost:8090/v2/wallets \
--header 'Content-Type: apcurl --request POSTplication/json' \
--data '{
"name": "Wallet1",
"mnemonic_sentence": ["shift", <snip> "apology"],
"passphrase": "test123456"
}' | jq
I was able to use this wallet to create simple transactions, sending tADA to it etc, but after reboot when pinging the wallet I do not see that it exists.
curl --request GET --url http://localhost:8090/v2/wallets/735<snip>7811 | jq '.state'
curl --request GET --url http://localhost:8090/v2/wallets/735<snip>7811 | jq '.balance'
I get null.
Addresses I used to send tADA to still show the tADA.
addr_test1qq2xy0hv8lz37tcxphkklm8ma0yx6txuuvg2nsn6mudst2v7n5h0rnpl5fka6haqrnfj3m99amv24dd9wjdag3mzdnus6fl8nz (1000 tADA)
addr_test1qptceaxke3ppvkgxvjz03m6f0w225vd93fss2adl047ayw57n5h0rnpl5fka6haqrnfj3m99amv24dd9wjdag3mzdnuszx55q2 (2000 tADA)
I got these addresses yesterday with the following command.
curl --request GET --url 'http://localhost:8090/v2/wallets/735<snip>7811/addresses?state=unused' | jq '.[0]'
Same command today gives me an Error.
Through cardano-cli or cardano-wallet, how do I ‘recover’ or ‘reactivate’ or ‘access’ this wallet and the tokens I’ve sent to it?
This is not a critical need … I’m just trying to learn. Trying to figure out why it became unavailable or what commands to use to re-establish or reconnect to it.
I’ve created another wallet with another with a different command:
cardano-wallet wallet create from-recovery-phrase Wallet2
--port 8090 /
--address-pool-gap 20
I’m thinking this is the better route …
thanks in advance.