Skip to content

secretcli query bank balances error (pulsar testnet) #1719

@AuroraLantean

Description

@AuroraLantean

According to the doc: https://docs.scrt.network/secret-network-documentation/development/readme-1/compile-and-deploy

$ secretcli query bank balances "secret158v062sat459ygam4y5j9z6p6e6g8wcdw6z4xp"

should give a balance after getting the token from a faucet.
I have received some SRCT at an address.
but I cannot get a balance via the command above.

Do I need to config the testnet endpoints first?

According to https://docs.scrt.network/secret-network-documentation/development/resources-api-contract-addresses/connecting-to-the-network/usage-examples
This is how to config the endpoints:

$ secretcli config node "https://pulsar.rpc.secretnodes.com"
$ secretcli config chain-id pulsar-3

Those do not seem to work...
Or do you suggest using Secret.js to replace the secretcli tool ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions