soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

soroban-cli: Nicer error when account is not funded on the network

Open paulbellamy opened this issue 2 years ago • 1 comments
trafficstars

This seems like a common error devs would hit, but right now you just get:

$ soroban token create --name "foo" --symbol "FOO" --salt=100
error: jsonrpc error: RPC call failed: ErrorObject { code: InvalidRequest, message: "Resource Missing", data: None }

It would be great if we could provide a more informative error, as it took me a few minutes to figure out.

paulbellamy avatar Dec 07 '22 19:12 paulbellamy

Related: https://github.com/stellar/soroban-rpc/issues/45 https://github.com/stellar/soroban-tools/issues/142

paulbellamy avatar May 26 '23 13:05 paulbellamy