Skip to content

Commit b2dd640

Browse files
Update README.md
1 parent a91919e commit b2dd640

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
run in terminal
2+
```bash
3+
mkdir test
4+
cd test
5+
python3 -m venv venv
6+
. venv/bin/activate
7+
pip install maturin ipython
8+
cd ..
9+
10+
maturin develop
11+
ipython
12+
13+
```
14+
15+
copy-past to ipython
16+
```python
17+
import bittensor_commit_reveal as cr
18+
19+
uids = [1, 3]
20+
weights = [28086, 65535]
21+
version_key = 840000
22+
subnet_reveal_period_epochs = 1
23+
24+
print(cr.get_encrypted_commit(uids, weights, version_key, subnet_reveal_period_epochs))
25+
```

0 commit comments

Comments
 (0)