A minimum twitter implementation based on Substrate.
Supported features:
- Tweet
- Retweet
- Comment
- Query tweets of an account.
Follow these steps to prepare a local Substrate development environment ๐ ๏ธ
Setup instructions can be found at the Substrate Developer Hub.
Once the development environment is set up, build the node template. This command will build the Wasm and native code:
WASM_BUILD_TOOLCHAIN=nightly-2020-10-05 cargo build --release
Purge any existing dev chain state:
./target/release/node-template purge-chain --dev
Start a dev chain:
./target/release/node-template --dev
Or, start a dev chain with detailed logging:
RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/node-template -lruntime=debug --dev
If you want to see the multi-node consensus algorithm in action, refer to our Start a Private Network tutorial.