Our great sponsors
-
substrate-contracts-node
Minimal Substrate node configured for smart contracts via pallet-contracts.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
First, navigate to the GitHub repository of the substrate-contracts-node and make a fork of the node under your own GitHub username by clicking on the Fork button on the upper-left corner of the page.
#!/bin/sh echo "Installing Rust and Wasm toolchain..." curl https://sh.rustup.rs -sSf | sh -s -- -y rustup default stable rustup update rustup update nightly rustup target add wasm32-unknown-unknown --toolchain nightly echo "Installing protoc..." sudo apt update sudo apt install -y unzip PROTOC_VERSION=$(curl -s "https://api.github.com/repos/protocolbuffers/protobuf/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+') curl -Lo protoc.zip "https://github.com/protocolbuffers/protobuf/releases/latest/download/protoc-${PROTOC_VERSION}-linux-x86_64.zip" sudo unzip -q protoc.zip bin/protoc -d /usr/local sudo chmod a+x /usr/local/bin/protoc rm -rf protoc.zip echo "Building Substrate Node Template..." cargo build --release --locked echo "Installing cargo-contract CLI tool..." cargo install --force --locked cargo-contract --version 2.0.0-rc
Related posts
- Reverse Engineering Protobuf Definitions from Compiled Binaries
- How to learn to use protoc in 21 easily infuriating steps
- What's involved in protobuf encoding?
- Trying To Solve The Confusion of Choice Between gRPC vs REST🕵
- ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects