Skip to content

Commit

Permalink
refactored docs
Browse files Browse the repository at this point in the history
  • Loading branch information
latentvector committed Jun 8, 2024
1 parent 27639b2 commit ed776ba
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 26 deletions.
File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions docs/blockchain/staking.md → docs/basics/subspace/staking.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Staking

## Stake Tokens

To stake on a module, you can use the following commands:

```
c.stake(module=5HYnok8FmBEx9AekVUPzff9kW7ymyp9mrucQTeqTLfJoHu1S, amount=100, key='module')
c.stake(module=5HYnok8FmBEx9AekVUPzff9kW7ymyp9mrucQTeqTLfJoHu1S, amount=100, key='module', netuid=0)
```

## Unstake Tokens
Expand Down Expand Up @@ -54,12 +55,17 @@ or if you want to specify the same amount, just do the amounts as an integer
```bash
c.stake_many(modules=[model1,model2], amounts=10)
```
## Stake Transfer

```bash
c stake_transfer vali.text.truthqa::commie1 vali::project_management amount=0.01 # default netuid=0
```


## List Your Staked Modules


c staked search=vali netuid=1
c staked netuid=1

dividends stake_from delegation_fee stake vote_staleness
11 vali.text.truthqa::commie1 0.016297 836737 5 1543452 49
Expand All @@ -71,7 +77,3 @@ c staked search=vali netuid=1

Transfer stake from one module to another, if you dont specify the amount, the default is the entire stake towards the module

```bash
c stake_transfer vali.text.truthqa::commie1 vali::project_management amount=0.01 # default netuid=0
```

File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions docs/blackpaper/module_filesystem.md

This file was deleted.

0 comments on commit ed776ba

Please sign in to comment.