Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Trying to implement a ledger app for Bittensor

License

Notifications You must be signed in to change notification settings

camfairchild/ledger-bittensor

 
 

Repository files navigation

Ledger Bittensor App

License


Forked from Zondax/ledger-picasso


This project contains the Bittensor app (https://www.bittensor.com/) for Ledger Nano S and X.
Supporting transfers and staking after the Finney fork.

  • Ledger Nano S/X BOLOS app
  • Specs / Documentation
  • C++ unit tests
  • Zemu tests

For more information: How to build

ATTENTION

Please:

  • Do not use in production
  • Do not use a Ledger device with funds for development purposes.
  • Have a separate and marked device that is used ONLY for development and testing

Bittensor 1.1.x

System

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Fill block Perbillratio
Remark Bytesremark
Set heap pages u64pages
Set code ✔️ ✔️ ✔️ ✔️ Vecu8code
Set code without checks Vecu8code
Set storage VecKeyValueitems
Kill storage VecKeykeys
Kill prefix Keyprefix
u32subkeys
Remark with event Bytesremark

Timestamp

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Set Compactu64now

Sudo

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Sudo ✔️ Partial ✔️ Partial ✔️ Partial Callcall
Sudo unchecked weight Callcall
Weightweight
Set key ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcenew_
Sudo as LookupasStaticLookupSourcewho
Callcall

Balances

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Transfer ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
CompactBalanceamount
Set balance ✔️ ✔️ ✔️ LookupasStaticLookupSourcewho
CompactBalancenew_free
CompactBalancenew_reserved
Force transfer ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcesource
LookupasStaticLookupSourcedest
CompactBalanceamount
Transfer keep alive ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
CompactBalanceamount
Transfer all ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
boolkeep_alive
Force unreserve ✔️ ✔️ LookupasStaticLookupSourcewho
Balanceamount
                                              |

Subtensor Module

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Add stake ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcehotkey
Balancestake_amount
Remove stake ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcehotkey
Balanceunstake_amount
Become delegate LookupasStaticLookupSourcehotkey
Register u16netuid
u64blockNumber
u64nonce
Byteswork
LookupasStaticLookupSourcehotkey
LookupasStaticLookupSourcecoldkey
Serve Axon u32version
u128ip
u16port
u8ipType
u8protocol
u8placeholder1
u8placeholder1
Serve Prometheus u32version
u128ip
u16port
u8ipType
Set Weights u16netuid
Vecu16dests
Vecu16weights
u64versionKey
Sudo Add Network ✔️ ✔️ ✔️ ✔️ u16netuid
u16tempo
u16modality
Burned Register ✔️ ✔️ ✔️ ✔️ u16netuid
LookupasStaticLookupSourcehotkey

About

Trying to implement a ledger app for Bittensor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 56.0%
  • TypeScript 23.7%
  • C++ 9.8%
  • Rust 4.4%
  • CMake 2.9%
  • Makefile 1.7%
  • Other 1.5%