Chain | Bot Address |
---|---|
agoric | agoric1cwe4fgnmvdzx6kefxs8alldtwhywctnxt7mdr5 |
cerberus | cerberus1jrjdqzxchlt09gj6qvn4ds8suxh9aqwyty62ml |
cosmoshub | cosmos1jrjdqzxchlt09gj6qvn4ds8suxh9aqwyhr6rw5 |
gravitybridge | gravity1jrjdqzxchlt09gj6qvn4ds8suxh9aqwynngmtu |
juno | juno1jrjdqzxchlt09gj6qvn4ds8suxh9aqwyp3ecfg |
osmosis | osmo1jrjdqzxchlt09gj6qvn4ds8suxh9aqwylcfncx |
regen | regen1jrjdqzxchlt09gj6qvn4ds8suxh9aqwygp3lcs |
rizon | rizon1jrjdqzxchlt09gj6qvn4ds8suxh9aqwy57xjzv |
stargaze | stars1jrjdqzxchlt09gj6qvn4ds8suxh9aqwyrld799 |
terra | terra1knhcrmhcm4d6apcj4vglelax7sz4fm8759s6mj |
umee | umee1jrjdqzxchlt09gj6qvn4ds8suxh9aqwy948u2x |
- MacOS or Linux
- Go version 1.17 or later (https://formulae.brew.sh/formula/go)
- CLI like junod, gaiad, osmosisd
- Your Ledger
- Delegate or Redelegate to 0base.vc with your Ledger (https://0base.dev)
- Install CLI
- Connect your ledger wallet into CLI
- Create a
grant.json
file for grant - Sign grant.json using CLI and Create
sign.json
- Broadcast
sign.json
using CLI and Your Ledger - Check grant tx on mintscan
Check https://github.com/ovrclk/cosmos-omnibus/tree/master/juno You can install CLI with Repository and Version.
# Clone juno from Repository
$ git clone https://github.com/CosmosContracts/Juno juno
$ cd juno
# Checkout current working version
$ git checkout v2.1.0
# Compile it
$ make install
# Check CLI
$ junod version
# Add ledger wallet into CLI
# myKey is a name of address
$ junod keys add myKey --ledger
# Check wallet
$ junod keys list
- Granter : Your Ledger Juno address. (There are two addresses in total)
- Grantee: 0base.vc bot address for a selected chain. (There are two addresses in total)
{
"body": {
"messages": [
{
"@type": "/cosmos.authz.v1beta1.MsgGrant",
"granter": "(Your juno address)",
"grantee": "(juno1jrjdqzxchlt09gj6qvn4ds8suxh9aqwyp3ecfg : Bot address of chain)",
"grant": {
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.staking.v1beta1.MsgDelegate"
},
"expiration": "2023-04-02T07:58:50Z"
}
},
{
"@type": "/cosmos.authz.v1beta1.MsgGrant",
"granter": "(Your juno address)",
"grantee": "(juno1jrjdqzxchlt09gj6qvn4ds8suxh9aqwyp3ecfg : Bot address of chain)",
"grant": {
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"
},
"expiration": "2023-04-02T07:41:02Z"
}
}
]
},
"auth_info": {
"signer_infos": [],
"fee": {
"amount": [],
"gas_limit": "200000",
"payer": "",
"granter": ""
}
},
"signatures": []
}
- You can check
chain_id
from https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/chain.json
# Sign with your ledger and create sign.json
# Use your key that was created above
# Check node url
$ junod tx sign grant.json --keyring-backend file \
--chain-id juno-1 \
--from myKey \
--node https://rpc.cosmos.directory:443/juno \
--output-document sign.json
# Broadcast sign.json to network.
# Check fees.
$ junod tx broadcast sign.json \
--chain-id juno-1 \
--node https://rpc.cosmos.directory:443/juno \
--fees 2000ujuno
- https://www.mintscan.io/juno/account/(Your_juno_address)
- In Transactions at the bottom, you can find a transaction which type is
Grant
.
You can send a revoke transaction anytime. I will update the gist.