Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tensorplex-labs/kami

Repository files navigation

Tensorplex Kami Logo

Tensorplex Kami

Discord Follow us on Twitter

Description

Nest framework for substrate-related interactions.

Project setup

$ npm install

Env setup

Variable Description Default Value Remarks
BITTENSOR_DIR Bittensor directory $HOME/.bittensor
WALLET_COLDKEY Bittensor coldkey name -
WALLET_HOTKEY Bittensor hotkey name -
SUBTENSOR_NETWORK Network name - if not set, falls back to Latent Holdings Subtensor
ws://localhost:9944 (local subtensor)
KAMI_PORT Port 8882 if not set, falls back to 3000

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Deployment

Deploy your Kami instance as a Docker container.

# Using the provided docker compose as example
docker compose up -d

API Documentation

The latest documentation can be found at https://kami.tensorplex.ai/. Swagger UI can also be accessed once compiled: http://localhost:KAMI_PORT/docs

Run tests (Coming soon!)

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Stay in touch

License

Tensorplex Kami is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages