1 unstable release
0.1.3 | Dec 3, 2021 |
---|---|
0.1.2 |
|
0.1.1 |
|
0.1.0 |
|
#793 in #solana
72KB
1.5K
SLoC
RUN chain-reader and index-manager indexer
tmux new -d -s services "make services-dev-up"
tmux new -d -s chain-reader scripts/run-chain-reader.sh
tmux new -d -s indexer-api scripts/run-indexer-api.sh
Install massbit-sol
cargo install massbit-sol
Run CLI for gencode
cargo run --bin massbit-sol -- gencode -s user-example/solana/instructions/serum/instruction.json -o code-compiler/generated/serum-index -c user-example/solana/instructions/serum/config.json
or
massbit-sol gencode -s user-example/solana/instructions/serum/instruction.json -o code-compiler/generated/serum-index -c user-example/solana/instructions/serum/config.json
Build indexer
cd serum-index
cargo build --release
Deploy indexer
cd ../../../
cargo run --bin massbit-sol -- deploy -u http://127.0.0.1:3031/indexers/deploy -d ~/Massbit/massbitprotocol/code-compiler/generated/serum-index
or
cd ../../../
massbit-sol deploy -u http://127.0.0.1:3031/indexers/deploy -d ~/Massbit/massbitprotocol/code-compiler/generated/serum-index
Publish new version of massbit-sol
to crate.io
(for Massbit developer only)
cd massbit-sol-cli
cargo publish
Dependencies
~21–37MB
~627K SLoC