cybertensor
Project description
CYBERTENSOR
Step-by-step guide
Yuma Consensus
Deployed contract
Game of Tensors subnet ideas:
- Subnet for ambassadors
- Subnet for knowledge domains
- Subnet for network infrastructure operators
- Subnet for relayers infrastructure operators
- Subnet for IPFS nodes operators
- Your idea here
When? Soon
Install
- With pip:
pip3 install cybertensor
- From source:
git clone https://github.com/cybercongress/cybertensor.git
python3 -m pip install -e cybertensor/
- To test your installation, type:
ctcli --help
or using python
import cybertensor
Space Pussy setup
- Clone:
git clone https://github.com/cybercongress/cybertensor.git
cd cybertensor
- [Optional] Create and activate a virtual environment:
python3 -m venv venv
. venv/bin/activate
- Install from the source
python3 -m pip install -e .
- To test your installation, type:
ctcli --help
or using python
import cybertensor
Dev setup
- Use localbostrom:
git clone https://github.com/cybercongress/localbostrom
cd localbostrom
./hard_restart.sh
- Add mnemonics from localbostrom's README to local keystore:
cyber keys add validator --recover --home ./home
- Deploy code and instantiate contract:
cyber tx wasm store cybernet.wasm --from validator --home ./home --chain-id localbostrom --gas 8000000 --broadcast-mode block -y --keyring-backend test
cyber tx wasm instantiate 1 "{}" --from validator --home ./home --chain-id localbostrom --gas 5000000 --label cybernet1 --admin bostrom1phaxpevm5wecex2jyaqty2a4v02qj7qm5n94ug --broadcast-mode block -y --keyring-backend test
- Send tokens to contract and activate (with dmn):
cyber tx bank send validator bostrom14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sww4mxt 1000000000000boot --home ./home --chain-id localbostrom --gas 500000 --broadcast-mode block -y --keyring-backend test
cyber tx wasm execute bostrom14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sww4mxt '{"activate":{}}' --from validator --home ./home --chain-id localbostrom --gas 5000000 --broadcast-mode block -y --keyring-backend test
- Add mnemonics from localbostrom's README to ctcli keystore:
ctcli w regen_hotkey
ctcli w regen_coldkey
- Add contract and schemas to .cybertensor/contract dir:
tree ~/.cybertensor/contract
/Users/cyberhead/.cybertensor/contract
├── cybernet.wasm
└── schema
├── execute.json
├── instantiate.json
├── query.json
└── schema.json
- Register network:
ctcli s create
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cybertensor-0.2.0.tar.gz
(190.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cybertensor-0.2.0-py3-none-any.whl
(248.6 kB
view details)
File details
Details for the file cybertensor-0.2.0.tar.gz.
File metadata
- Download URL: cybertensor-0.2.0.tar.gz
- Upload date:
- Size: 190.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b8404024282cf72547436558ce00f4e4afac8867385f9765f500bc4cc9b11b8
|
|
| MD5 |
528532f483719dde7bf825713f093038
|
|
| BLAKE2b-256 |
044e81fcbaa80454c3ef8d8f8ddb5d0b8d1045bcfa39cf423f032905f65884fa
|
File details
Details for the file cybertensor-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cybertensor-0.2.0-py3-none-any.whl
- Upload date:
- Size: 248.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
868a399edee7d7240aef06dee3b729a6f94c00d44bf2148ea61a2d08d76952f8
|
|
| MD5 |
79835e48a1d3849872e91608915a498b
|
|
| BLAKE2b-256 |
3cbeecd1e82cd40399063b4612f24b16fc53ec566566066ec40a1120d7f5c5a5
|