Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
cli
 
 
 
 
 
 
rpc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CI License

Logo

As an open cross-chain bridge protocol based on Substrate, Darwinia aims to build the Internet of Tokens, including decentralized tokens swap, exchange, and market.

👉 The official Documents for The Darwinia Network
👉 The official Documents for The Crab Network
👉 The official communication zoom, if you have any question? Darwinia Room

Building from Source

NOTE: Substrate development for windows is not properly supported! It is highly recommend to use Windows Subsystem Linux (WSL) and follow the instructions for Ubuntu/Debian. Check out Getting Started on Windows for more detail.

For Unix-based user, just grab the source code and build it. Make sure you have Rust and the support software installed.

Install Rust first:

curl https://sh.rustup.rs -sSf | sh
rustup default nightly
rustup target add wasm32-unknown-unknown

Additional packages may also be required:

  • Linux:

     sudo apt install cmake pkg-config libssl-dev git clang libclang-dev
  • Mac:

     brew install cmake pkg-config openssl git llvm

Then, clone the Darwinia source code and build the target:

# Fetch the code
git clone https://github.com/darwinia-network/darwinia.git
cd darwinia

# Build the node (The first build will be long (~30min))
cargo build --release

Run a development chain with:

cargo run --release -- --dev

Joining Network

Contributing Guidelines

CONTRIBUTION

License

LICENSE