No project description provided
Project description
Bittensor Wallet SDK
Install
There are a few ways to install Bittensor
- From source for usage:
$ git clone https://github.com/opentensor/btwallet.git
$ python3 -m pip install -e bittensor_wallet/
- From source for development needs:
$ git clone https://github.com/opentensor/btwallet.git
$ python3 -m venv venv # create env
$ source venv/bin/activate # activate env
$ pip install bittensor-wallet # install bittensor-wallet
$ python3 -m pip install -e .[dev] # installs dependencies for development and testing
- From PyPI:
$ python3 -m venv venv # create env
$ source venv/bin/activate # activate env
$ pip install bittensor-wallet # install bittensor-wallet
To test your installation using python
from bittensor_wallet import Wallet
# creates wallet with name `default`
wallet = Wallet()
wallet.create()
If you want to pass arguments to the class other than the default, use the following:
name (str): The name of the wallet, used to identify it among possibly multiple wallets.
hotkey (str): String identifier for the hotkey.
path (str): File system path where wallet keys are stored.
config (Config): Bittensor configuration object.
To use your own config, you can do it like this:
from bittensor_wallet.config import Config
config = Config()
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
bittensor-wallet-1.0.0.tar.gz
(21.3 kB
view hashes)
Built Distribution
Close
Hashes for bittensor_wallet-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b5462200e86e824f8377b729f2148c61b272ce8da810a91c21f82045a4fb14 |
|
MD5 | 0059995f60d2d01052955814ee133844 |
|
BLAKE2b-256 | 9ff10d2ebd1f0a9c70b28f332028e93174c675e21728ac299dd7bbc711339b3b |