Skip to content

Commit

Permalink
Merge branch 'crypto-org-chain:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
croyyds authored May 19, 2022
2 parents 8e94fb1 + d87542d commit 2d987fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 6 additions & 4 deletions docs/getting-started/local-devnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ By following this tutorial, you can compile and run the latest development versi

## Overview

We will be using [pystarport](https://github.com/crypto-org-chain/chain-main/tree/master/pystarport), a dedicated script similar to [cosmos starport](https://github.com/tendermint/starport) without the scaffolding feature to build a local development network with multiple validators. Or using a shell script init.sh to build a local development network with a single validator.
The first option is to use [pystarport](https://github.com/crypto-org-chain/chain-main/tree/master/pystarport), a dedicated script similar to [cosmos starport](https://github.com/tendermint/starport), but without the scaffolding feature to build a local development network with multiple validators. Another option is to use a shell script `init.sh` to build a local development network with a single validator.


## Pre-requisites
Expand Down Expand Up @@ -191,6 +191,8 @@ As in the last section, pre-created Hierarchical Deterministic (HD) mnemonic wit
$ cronosd keys add signer2 --recover --keyring-backend test
```

Fill in your bip39 mnemonic, as can be found in `data/cronos_777-1/accounts.json`. Note that these addresses and mnemonic phrases are different for everyone.

```bash
Enter your bip39 mnemonic
cruel install century disease tired glass lesson mushroom donor usual uncover fly post stamp busy utility certain obscure whisper scene order want sentence reduce
Expand All @@ -205,7 +207,7 @@ cruel install century disease tired glass lesson mushroom donor usual uncover fl

### Check account balance

You can check the account balance by
You can, for example, check the account balance by

```sh
cronosd q bank balances crc1drs00mg2wfn26vtgsfqreq0m3jcfqf564gwkkk -o json | jq
Expand Down Expand Up @@ -250,10 +252,10 @@ We can see that there is `30000000000000000000000` basetcro in this address.
pubkeys: []
```

- Now we can transfer tokens to `Bob`, for example you can send `1cro` to Bob's address by
- Now we can transfer tokens to `Bob`, for example you can send `1basetcro` to Bob's address by

```sh
$ cronosd tx bank send signer1 crc1vqgk86fzr64xsyeemlxnxxeawcw0zfcx3dwgjt 1cro --keyring-backend test --chain-id cronosd
$ cronosd tx bank send signer1 crc1vqgk86fzr64xsyeemlxnxxeawcw0zfcx3dwgjt 1basetcro --keyring-backend test --chain-id cronos_777-1
```

- Lastly, check balance of Bob's address:
Expand Down
8 changes: 7 additions & 1 deletion docs/resources/chain-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If this assumption is important in your application, please consider setting up
4. **EVM HTTP JSON RPC (Web3 compatible)**
- [https://evm.cronos.org/](https://evm.cronos.org/)

### Official token contract addresses for Cronos mainnet Beta
## Official token contract addresses for Cronos mainnet Beta

| Token name | Address | Decimal |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------- |
Expand Down Expand Up @@ -122,6 +122,12 @@ If this assumption is important in your application, please consider setting up
| BAT | [0x2F712E0a6f92e3f865EaEb86f07BAFc67974d26c](https://cronoscan.com/address/0x2F712E0a6f92e3f865EaEb86f07BAFc67974d26c/transactions) | 18 |
| SRM | [0xB858e614779f148992949A3b15E6127dDA204ca4](https://cronoscan.com/address/0xB858e614779f148992949A3b15E6127dDA204ca4/transactions) | 6 |
| DYDX | [0x4442C740cc5B47F032983106E66E3C9dC945676C](https://cronoscan.com/address/0x4442C740cc5B47F032983106E66E3C9dC945676C/transactions) | 18 |
| UMA | [0x33564807CC70c6422124d867B344D7b90bF21A76](https://cronoscan.com/address/0x33564807CC70c6422124d867B344D7b90bF21A76/transactions) | 18 |
| CHR | [0xcdee9300A1527E0000b054320D371A9C8c4a8AF6](https://cronoscan.com/address/0xcdee9300A1527E0000b054320D371A9C8c4a8AF6/transactions) | 6 |
| EFI | [0x47E16f9EE811d3651D979941325c545Da6385daF](https://cronoscan.com/address/0x47E16f9EE811d3651D979941325c545Da6385daF/transactions) | 18 |
| STX | [0x30BBA7b57952E7028c47d5c6AB295D0Da7139eF9](https://cronoscan.com/address/0x30BBA7b57952E7028c47d5c6AB295D0Da7139eF9/transactions) | 6 |
| ENS | [0xA0913e0D7A85954e89452e7Ccb8d1235db74C330](https://cronoscan.com/address/0xA0913e0D7A85954e89452e7Ccb8d1235db74C330/transactions) | 18 |
| PLA | [0x044597363b0054986aE4289d25CD7D0D451766Fc](https://cronoscan.com/address/0x044597363b0054986aE4289d25CD7D0D451766Fc/transactions) | 18 |

## Integration guide for **Cronos Testnet**

Expand Down

0 comments on commit 2d987fb

Please sign in to comment.