WORK IN PROGRESS --- BARELY FUNCTIONAL AND MISSING MUCH TO BE DONE
$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
$ rustup component add rustfmtWhen building the master branch, please make sure you are using the latest stable rust version by running:
$ rustup updateNote that if this is not the latest rust version on your machine, cargo commands may require an override in order to use the correct version.
On Linux systems you may need to install libssl-dev, pkg-config, zlib1g-dev, etc. On Ubuntu:
$ sudo apt-get update
$ sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang makeFinally, install the latest Solana CLI Suite
Using https
$ git clone https://github.com/hashblock/solana-did-methodUsing ssh
$ git clone git@github.com:hashblock/solana-did-method.gitFirst the Solana program
$ cd solana-did-method/program
$ cargo build-bpf
$ cd ..Then the command line wallet
$ cargo buildRun the non-bpf test suite:
This will start a local solana validator node (solana-test-validator)and run through tests in src/main.rs
$ cargo test -- --test-threads=1 --nocaptureWIP