Skip to content

Commit

Permalink
Merge pull request #117 from aura-nw/dev
Browse files Browse the repository at this point in the history
change chain-id from xstaxy-1 to aura_6322-2
  • Loading branch information
kienvc authored May 23, 2024
2 parents 13feb99 + 7962509 commit 1bda9db
Show file tree
Hide file tree
Showing 31 changed files with 65 additions and 64 deletions.
2 changes: 1 addition & 1 deletion docs/archived/3.rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Mainnet's code name is `Xstaxy`. This is where you may deploy your contracts for
```
Network Name: Xstaxy Mainnet
RPC URL: https://rpc.aura.network
ChainID: xstaxy-1
ChainID: aura_6322-2
Symbol: AURA
Block Explorer URL: https://aurascan.io/
```
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/1.getting-started/1.env-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Once you select your desired network and node, go into `~/.aura/config/client.to
###############################################################################

# The network chain ID
chain-id = "xstaxy-1"
chain-id = "aura_6322-2"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "test"
# CLI output format (text|json)
Expand Down
4 changes: 2 additions & 2 deletions docs/developer/4.multisig-cli/0.generate-multisig-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ aurad tx bank send \
test1 \
aura1tk736vetmgplrefcak0l62gak8h28m9ccqynxj \
2000000uaura \
--chain-id=xstaxy-1 \
--chain-id=aura_6322-2 \
--gas=auto \
--fees=100000uaura \
--node https://rpc.aura.network:443
Expand All @@ -87,7 +87,7 @@ aurad tx bank send \
Query balance:

```
aurad query bank balances --chain-id xstaxy-1 --node https://rpc.aura.network:443 aura1tk736vetmgplrefcak0l62gak8h28m9ccqynxj
aurad query bank balances --chain-id aura_6322-2 --node https://rpc.aura.network:443 aura1tk736vetmgplrefcak0l62gak8h28m9ccqynxj
balances:
- amount: "2000000"
denom: uaura
Expand Down
4 changes: 2 additions & 2 deletions docs/developer/4.multisig-cli/1.create-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ aurad tx bank send \
1000000uaura \
--gas=200000 \
--fees 100000uaura \
--chain-id xstaxy-1 \
--chain-id aura_6322-2 \
--generate-only > unsignedTx.json
```

Expand All @@ -33,7 +33,7 @@ aurad tx staking delegate \
--from aura1tk736vetmgplrefcak0l62gak8h28m9ccqynxj \
--gas 250000 \
--fees=100000uaura \
--chain-id xstaxy-1 \
--chain-id aura_6322-2 \
--generate-only > unsignedTx.json
```

Expand Down
6 changes: 3 additions & 3 deletions docs/developer/4.multisig-cli/2.sign-tx.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ aurad tx sign \
--from test1 \
--multisig aura1tk736vetmgplrefcak0l62gak8h28m9ccqynxj \
--sign-mode amino-json \
--chain-id xstaxy-1 \
--chain-id aura_6322-2 \
--node https://rpc.aura.network:443 \
--output-document=tx-signed-test1.json
Expand All @@ -26,7 +26,7 @@ aurad tx sign \
--multisig aura1tk736vetmgplrefcak0l62gak8h28m9ccqynxj \
--from test2 \
--sign-mode amino-json \
--chain-id xstaxy-1 \
--chain-id aura_6322-2 \
--node https://rpc.aura.network:443 \
--output-document=tx-signed-test2.json
```
Expand All @@ -40,7 +40,7 @@ aurad tx multisign \
unsignedTx.json \
multi \
tx-signed-test1.json tx-signed-test2.json \
--chain-id xstaxy-1 \
--chain-id aura_6322-2 \
--node https://rpc.aura.network:443 > signedTx.json
```

Expand Down
2 changes: 1 addition & 1 deletion docs/developer/4.multisig-cli/3.broadcast-tx.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ When you have enough signatures of owners and combine them into a multi-signatur
```
aurad tx broadcast \
signedTx.json \
--chain-id xstaxy-1 \
--chain-id aura_6322-2 \
--node https://rpc.aura.network:443
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Check status asset by code_id after register"
sidebar_label: Check status asset by code_id after register
hide_title: true
hide_table_of_contents: true
api: {"tags":["CodeId"],"description":"Check status asset by code_id after register","parameters":[{"in":"path","name":"chainId","required":true,"schema":{"type":"string","enum":["xstaxy-1"]},"description":"Chain Id of network"},{"in":"path","name":"codeId","required":true,"schema":{"type":"number"},"description":"Code Id of stored contract need to query"}],"responses":{"200":{"description":"CodeId information","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","example":200},"message":{"type":"string","example":"Successful"},"data":{"type":"object","properties":{"status":{"type":"string","example":"REJECTED"}}}}}}}},"422":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"ValidationError"},"message":{"type":"string","example":"Parameters validation error!"},"code":{"type":"number","example":422},"type":{"type":"string","example":"VALIDATION_ERROR"},"data":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","example":"required"},"message":{"type":"string","example":"The 'chainid' field is required."},"field":{"type":"string","example":"chainid"},"nodeID":{"type":"string","example":"node1"},"action":{"type":"string","example":"v1.block.chain"}}}}}}}}}},"method":"get","path":"/v1/codeid/{chainId}/{codeId}/checkStatus","servers":[{"url":"https://horoscope.aura.network/api","description":"Horoscope "},{"url":"https://lcd.osmosis.zone","description":"Osmosis Mainnet LCD"},{"url":"https://lcd.euphoria.aura.network","description":"Aura Euphoria LCD"},{"url":"https://cosmos-lcd.quickapi.com","description":"Cosmos Mainnet LCD"}],"info":{"title":"Horoscope API Documentation","version":"1.0.0","description":"## Indexer for multiple Cosmos Network \n\n### How to use\n\nSelect server Horoscope if use Horoscope API\n\nSelect server LCD if use Legacy API"},"postman":{"name":"Check status asset by code_id after register","description":{"content":"Check status asset by code_id after register","type":"text/plain"},"url":{"path":["v1","codeid",":chainId",":codeId","checkStatus"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) Chain Id of network","type":"text/plain"},"type":"any","value":"","key":"chainId"},{"disabled":false,"description":{"content":"(Required) Code Id of stored contract need to query","type":"text/plain"},"type":"any","value":"","key":"codeId"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}}
api: {"tags":["CodeId"],"description":"Check status asset by code_id after register","parameters":[{"in":"path","name":"chainId","required":true,"schema":{"type":"string","enum":["aura_6322-2"]},"description":"Chain Id of network"},{"in":"path","name":"codeId","required":true,"schema":{"type":"number"},"description":"Code Id of stored contract need to query"}],"responses":{"200":{"description":"CodeId information","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","example":200},"message":{"type":"string","example":"Successful"},"data":{"type":"object","properties":{"status":{"type":"string","example":"REJECTED"}}}}}}}},"422":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"ValidationError"},"message":{"type":"string","example":"Parameters validation error!"},"code":{"type":"number","example":422},"type":{"type":"string","example":"VALIDATION_ERROR"},"data":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","example":"required"},"message":{"type":"string","example":"The 'chainid' field is required."},"field":{"type":"string","example":"chainid"},"nodeID":{"type":"string","example":"node1"},"action":{"type":"string","example":"v1.block.chain"}}}}}}}}}},"method":"get","path":"/v1/codeid/{chainId}/{codeId}/checkStatus","servers":[{"url":"https://horoscope.aura.network/api","description":"Horoscope "},{"url":"https://lcd.osmosis.zone","description":"Osmosis Mainnet LCD"},{"url":"https://lcd.euphoria.aura.network","description":"Aura Euphoria LCD"},{"url":"https://cosmos-lcd.quickapi.com","description":"Cosmos Mainnet LCD"}],"info":{"title":"Horoscope API Documentation","version":"1.0.0","description":"## Indexer for multiple Cosmos Network \n\n### How to use\n\nSelect server Horoscope if use Horoscope API\n\nSelect server LCD if use Legacy API"},"postman":{"name":"Check status asset by code_id after register","description":{"content":"Check status asset by code_id after register","type":"text/plain"},"url":{"path":["v1","codeid",":chainId",":codeId","checkStatus"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) Chain Id of network","type":"text/plain"},"type":"any","value":"","key":"chainId"},{"disabled":false,"description":{"content":"(Required) Code Id of stored contract need to query","type":"text/plain"},"type":"any","value":"","key":"codeId"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}}
sidebar_class_name: "get api-method"
info_path: horoscope/horoscope-api-documentation
---
Expand All @@ -25,7 +25,7 @@ import TabItem from "@theme/TabItem";

Check status asset by code_id after register

<details style={{"marginBottom":"1rem"}} data-collapsed={false} open={true}><summary style={{}}><strong>Path Parameters</strong></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"path","name":"chainId","required":true,"schema":{"type":"string","enum":["xstaxy-1"]},"description":"Chain Id of network"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"path","name":"codeId","required":true,"schema":{"type":"number"},"description":"Code Id of stored contract need to query"}}></ParamsItem></ul></div></details><div><ApiTabs><TabItem label={"200"} value={"200"}><div>
<details style={{"marginBottom":"1rem"}} data-collapsed={false} open={true}><summary style={{}}><strong>Path Parameters</strong></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"path","name":"chainId","required":true,"schema":{"type":"string","enum":["aura_6322-2"]},"description":"Chain Id of network"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"path","name":"codeId","required":true,"schema":{"type":"number"},"description":"Code Id of stored contract need to query"}}></ParamsItem></ul></div></details><div><ApiTabs><TabItem label={"200"} value={"200"}><div>

CodeId information

Expand Down
4 changes: 2 additions & 2 deletions docs/horoscope/get-account-stake-info.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Get account stake info"
sidebar_label: Get account stake info
hide_title: true
hide_table_of_contents: true
api: {"tags":["Account Info"],"description":"Get account stake info","parameters":[{"in":"query","name":"chainId","required":true,"schema":{"type":"string","enum":["xstaxy-1"]},"description":"Chain Id of network need to query","example":"aura-testnet"},{"in":"query","name":"address","required":true,"schema":{"type":"string"},"description":"Address need to query"},{"in":"query","name":"type","required":true,"schema":{"type":"string","enum":["Delegations","Unbondings","Redelegations","Vestings"]},"description":"Type of stake need to query"},{"in":"query","name":"limit","required":true,"schema":{"type":"number","default":10},"description":"Limit number of data returned"},{"in":"query","name":"offset","required":true,"schema":{"type":"number","default":0},"description":"Number of data to skip"}],"responses":{"200":{"description":"Account information","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","example":200},"message":{"type":"string","example":"Successful"},"data":{"type":"object","properties":{"account_unbonding":{"type":"object","properties":{"delegator_address":{"type":"string","example":"aura123123123123"},"validator_address":{"type":"string","example":"auravaloper123123123"},"entries":{"type":"array","items":{"type":"object","properties":{"creation_height":{"type":"string","example":"100000"},"completion_time":{"type":"string","example":"2022-09-13T09:23:12.018Z"},"initial_balance":{"type":"string","example":"100000000"},"balance":{"type":"string","example":"100000000"}}}}}}}}}}}}},"422":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"ValidationError"},"message":{"type":"string","example":"Parameters validation error!"},"code":{"type":"number","example":422},"type":{"type":"string","example":"VALIDATION_ERROR"},"data":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","example":"required"},"message":{"type":"string","example":"The 'chainid' field is required."},"field":{"type":"string","example":"chainid"},"nodeID":{"type":"string","example":"node1"},"action":{"type":"string","example":"v1.account-info"}}}}}}}}}},"method":"get","path":"/v1/account-info/stake","servers":[{"url":"https://horoscope.aura.network/api","description":"Horoscope "},{"url":"https://lcd.osmosis.zone","description":"Osmosis Mainnet LCD"},{"url":"https://lcd.euphoria.aura.network","description":"Aura Euphoria LCD"},{"url":"https://cosmos-lcd.quickapi.com","description":"Cosmos Mainnet LCD"}],"info":{"title":"Horoscope API Documentation","version":"1.0.0","description":"## Indexer for multiple Cosmos Network \n\n### How to use\n\nSelect server Horoscope if use Horoscope API\n\nSelect server LCD if use Legacy API"},"postman":{"name":"Get account stake info","description":{"content":"Get account stake info","type":"text/plain"},"url":{"path":["v1","account-info","stake"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Chain Id of network need to query","type":"text/plain"},"key":"chainId","value":""},{"disabled":false,"description":{"content":"(Required) Address need to query","type":"text/plain"},"key":"address","value":""},{"disabled":false,"description":{"content":"(Required) Type of stake need to query","type":"text/plain"},"key":"type","value":""},{"disabled":false,"description":{"content":"(Required) Limit number of data returned","type":"text/plain"},"key":"limit","value":""},{"disabled":false,"description":{"content":"(Required) Number of data to skip","type":"text/plain"},"key":"offset","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}}
api: {"tags":["Account Info"],"description":"Get account stake info","parameters":[{"in":"query","name":"chainId","required":true,"schema":{"type":"string","enum":["aura_6322-2"]},"description":"Chain Id of network need to query","example":"aura-testnet"},{"in":"query","name":"address","required":true,"schema":{"type":"string"},"description":"Address need to query"},{"in":"query","name":"type","required":true,"schema":{"type":"string","enum":["Delegations","Unbondings","Redelegations","Vestings"]},"description":"Type of stake need to query"},{"in":"query","name":"limit","required":true,"schema":{"type":"number","default":10},"description":"Limit number of data returned"},{"in":"query","name":"offset","required":true,"schema":{"type":"number","default":0},"description":"Number of data to skip"}],"responses":{"200":{"description":"Account information","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","example":200},"message":{"type":"string","example":"Successful"},"data":{"type":"object","properties":{"account_unbonding":{"type":"object","properties":{"delegator_address":{"type":"string","example":"aura123123123123"},"validator_address":{"type":"string","example":"auravaloper123123123"},"entries":{"type":"array","items":{"type":"object","properties":{"creation_height":{"type":"string","example":"100000"},"completion_time":{"type":"string","example":"2022-09-13T09:23:12.018Z"},"initial_balance":{"type":"string","example":"100000000"},"balance":{"type":"string","example":"100000000"}}}}}}}}}}}}},"422":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"ValidationError"},"message":{"type":"string","example":"Parameters validation error!"},"code":{"type":"number","example":422},"type":{"type":"string","example":"VALIDATION_ERROR"},"data":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","example":"required"},"message":{"type":"string","example":"The 'chainid' field is required."},"field":{"type":"string","example":"chainid"},"nodeID":{"type":"string","example":"node1"},"action":{"type":"string","example":"v1.account-info"}}}}}}}}}},"method":"get","path":"/v1/account-info/stake","servers":[{"url":"https://horoscope.aura.network/api","description":"Horoscope "},{"url":"https://lcd.osmosis.zone","description":"Osmosis Mainnet LCD"},{"url":"https://lcd.euphoria.aura.network","description":"Aura Euphoria LCD"},{"url":"https://cosmos-lcd.quickapi.com","description":"Cosmos Mainnet LCD"}],"info":{"title":"Horoscope API Documentation","version":"1.0.0","description":"## Indexer for multiple Cosmos Network \n\n### How to use\n\nSelect server Horoscope if use Horoscope API\n\nSelect server LCD if use Legacy API"},"postman":{"name":"Get account stake info","description":{"content":"Get account stake info","type":"text/plain"},"url":{"path":["v1","account-info","stake"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) Chain Id of network need to query","type":"text/plain"},"key":"chainId","value":""},{"disabled":false,"description":{"content":"(Required) Address need to query","type":"text/plain"},"key":"address","value":""},{"disabled":false,"description":{"content":"(Required) Type of stake need to query","type":"text/plain"},"key":"type","value":""},{"disabled":false,"description":{"content":"(Required) Limit number of data returned","type":"text/plain"},"key":"limit","value":""},{"disabled":false,"description":{"content":"(Required) Number of data to skip","type":"text/plain"},"key":"offset","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}}
sidebar_class_name: "get api-method"
info_path: horoscope/horoscope-api-documentation
---
Expand All @@ -25,7 +25,7 @@ import TabItem from "@theme/TabItem";

Get account stake info

<details style={{"marginBottom":"1rem"}} data-collapsed={false} open={true}><summary style={{}}><strong>Query Parameters</strong></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"query","name":"chainId","required":true,"schema":{"type":"string","enum":["xstaxy-1"]},"description":"Chain Id of network need to query","example":"aura-testnet"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"address","required":true,"schema":{"type":"string"},"description":"Address need to query"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"type","required":true,"schema":{"type":"string","enum":["Delegations","Unbondings","Redelegations","Vestings"]},"description":"Type of stake need to query"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"limit","required":true,"schema":{"type":"number","default":10},"description":"Limit number of data returned"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"offset","required":true,"schema":{"type":"number","default":0},"description":"Number of data to skip"}}></ParamsItem></ul></div></details><div><ApiTabs><TabItem label={"200"} value={"200"}><div>
<details style={{"marginBottom":"1rem"}} data-collapsed={false} open={true}><summary style={{}}><strong>Query Parameters</strong></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"query","name":"chainId","required":true,"schema":{"type":"string","enum":["aura_6322-2"]},"description":"Chain Id of network need to query","example":"aura-testnet"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"address","required":true,"schema":{"type":"string"},"description":"Address need to query"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"type","required":true,"schema":{"type":"string","enum":["Delegations","Unbondings","Redelegations","Vestings"]},"description":"Type of stake need to query"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"limit","required":true,"schema":{"type":"number","default":10},"description":"Limit number of data returned"}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"in":"query","name":"offset","required":true,"schema":{"type":"number","default":0},"description":"Number of data to skip"}}></ParamsItem></ul></div></details><div><ApiTabs><TabItem label={"200"} value={"200"}><div>

Account information

Expand Down
Loading

0 comments on commit 1bda9db

Please sign in to comment.