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
Metadata
Release files for cybertensor 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cybertensor-0.2.4.tar.gz | 190.6 kB | Without provenance | Details for cybertensor-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cybertensor-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for cybertensor-0.2.4-py3-none-any.whl |
Total release size: 439.2 kB
Release files / cybertensor-0.2.4.tar.gz
| Download URL | cybertensor-0.2.4.tar.gz |
|---|---|
| Size | 190.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18ba7d7f8691ba2f763e119d777514ff42fd618ae9f371cebd5cc1fd914140ff
|
|
BLAKE2b-256 checksum How to use checksums |
463352472eb879124044f316850efbfc21aac6a6a4286fde2ffebb67bd1db86b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / cybertensor-0.2.4-py3-none-any.whl
| Download URL | cybertensor-0.2.4-py3-none-any.whl |
|---|---|
| Size | 248.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f00f0ac03f5591b5517552bafd8fd8abf53bb70b365f68b191a4f2cb38c1243f
|
|
BLAKE2b-256 checksum How to use checksums |
ee23d22f6595ed1cc67b7e2377dabb17664ada75d9948181d07b1cc83875d94d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for cybertensor 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.