Skip to content

jotto/substreams-database-change

 
 

Repository files navigation

Substreams Database Change

Developer preview

substreams-dataabse crate contains all the definitions for the database changes which can be emitted by a substream.

Install protoc

To be able to build proto files manually using the command line, you have to have protoc installed on your machine. Visit here to install.

For Linux, using apt

apt install -y protobuf-compiler
protoc --version  # Ensure compiler version is 3+

For macOS, using Homebrew

brew install protobuf
protoc --version  # Ensure compiler version is 3+

Instead of having a build.rs file which will build the proto automatically on every cargo build --release you have to build the proto files manually.

Simply run ./gen/generate.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 76.4%
  • Shell 23.6%