Skip to content

Commit

Permalink
add staking-cli demos to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaczanowski committed Aug 21, 2024
1 parent 9986ff9 commit 7217e25
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/staking-cli/README.avalanche.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,6 @@ https://testnet.avascan.info/blockchain/p/tx/TD2Qc6WHwnQ9fiaLBqr61KkiWUCkDKotA6G
```

NOTE: In Avalanche, there is no undelegation concept. Instead, users stake tokens for a specific period, usually starting from 14 days.

## Demo
[![asciicast](https://asciinema.org/a/F45uaKU8hfTt8q8RDfBeXMfXT.svg)](https://asciinema.org/a/F45uaKU8hfTt8q8RDfBeXMfXT)
3 changes: 3 additions & 0 deletions packages/staking-cli/README.cosmos.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,6 @@ As you can see, the message type is `MsgDelegate`, and the contents specify the
Please be sure to always check the messages included in your transaction, the amount, addresses, and the fee (which should be minimal and cost no more than `1000000utia` = `1 TIA`).

- Any amount specified in the fee is distributed among the validators, therefore it is important to ensure the amount is acceptable.

### Demo
[![asciicast](https://asciinema.org/a/UVLxguriRY7qrbfmaMMsccnxJ.svg)](https://asciinema.org/a/UVLxguriRY7qrbfmaMMsccnxJ)
3 changes: 3 additions & 0 deletions packages/staking-cli/README.ethereum.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ chorus-one-staking ethereum tx burn 1 -c ./config.ethreum.json --broadcast
```

Please note, the CLI is interactive. It will prompt you before signing a transaction and broadcasting it, giving you time to review its contents.

### Demo
[![asciicast](https://asciinema.org/a/eMe1QeTwN2WvsQtDvHefkws72.svg)](https://asciinema.org/a/eMe1QeTwN2WvsQtDvHefkws72)
3 changes: 3 additions & 0 deletions packages/staking-cli/README.near.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ chorus-one-staking near tx withdraw 1 -c ./config.near.json --broadcast
```

Please note, the CLI is interactive. It will prompt you before signing a transaction and broadcasting it, giving you time to review its contents.

### Demo
[![asciicast](https://asciinema.org/a/nHT85edPgKkx5CC4jtHSK5VaB.svg)](https://asciinema.org/a/nHT85edPgKkx5CC4jtHSK5VaB)
3 changes: 3 additions & 0 deletions packages/staking-cli/README.polkadot.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,6 @@ chorus-one-staking substrate tx withdraw -c ./config.polkadot.json --broadcast
```

Please note, the CLI is interactive. It will prompt you before signing a transaction and broadcasting it, giving you time to review its contents.

### Demo
[![asciicast](https://asciinema.org/a/nnfeDMDjiIwQjYSCRfDJHyeff.svg)](https://asciinema.org/a/nnfeDMDjiIwQjYSCRfDJHyeff)
3 changes: 3 additions & 0 deletions packages/staking-cli/README.ton.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ The nominator pool contract doesn't allow partial unstaking. It is only possible
{% endhint %}

Please note, the CLI is interactive. It will prompt you before signing a transaction and broadcasting it, giving you time to review its contents.

### Ton
[![asciicast](https://asciinema.org/a/EyCXCh6naN1MvMJH7TXjINPk7.svg)](https://asciinema.org/a/EyCXCh6naN1MvMJH7TXjINPk7)

0 comments on commit 7217e25

Please sign in to comment.