Crates.io | massbit-sol |
lib.rs | massbit-sol |
version | 0.1.3 |
source | src |
created_at | 2021-11-16 08:46:00.229015 |
updated_at | 2021-12-03 04:27:34.732319 |
description | CLI for Massbit Solana Indexer |
homepage | https://www.massbit.io/ |
repository | https://github.com/massbitprotocol/massbitprotocol |
max_upload_size | |
id | 482568 |
size | 128,074 |
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
massbit-sol
cargo install massbit-sol
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
cd serum-index
cargo build --release
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
massbit-sol
to crate.io
(for Massbit developer only)
cd massbit-sol-cli
cargo publish