Trappist is a web3 developer playground for experimenting with cross-chain applications and services built on the technologies spearheaded by the Polkadot Network, namely:
- Substrate, a Blockchain framework that enables developers to quickly and easily build future proof blockchains optimized for any use case.
- Cumulus, a set of tools for writing Substrate-based Polkadot parachains.
- XCM, a common language for secure messaging across Polkadot parachains, and with external networks via bridges.
- Rococo, Polkadot’s Parachain Testnet.
- Statemint, Polkadot's common good parachain which provides functionality for deploying and transferring assets — both Fungible and Non-Fungible Tokens (NFTs).
- Contracts Pallet, enable WebAssembly smart-contracts executions.
- ink!, an eDSL to write smart contracts in Rust for blockchains built on the Substrate framework.
Altogether those technologies enable an array of exciting cross-chain applications & services:
This repository contains the source code of Trappist, a feature-rich parachain for exploring and learning about cross-chain applications and services, along with a script to run a complete local multi-chain environment that includes:
- Rococo relay-chain
- Statemine common good asset parachain
- Trappist feature-rich parachain
- An additional parachain capable to execute ink! smart contracts.
All these pre-configured to allow cross-chain communication via XCM messages on HRMP channels.
The term Trappist refers to a style of beers brewed in Abbeys by Trappist monks, and is generally associated with authenticity, craftsmanship, integrity and tradition. Aside from any religious consideration, we like to think we put as much care in crafting Blockchain software as monks brewing high-quality beer 🍺.
As Trappist breweries are not intended to be profit-making ventures, this project is non-commercial, open-source software focused solely on experimentation and knowledge sharing with people interested in learning about decentralized technologies.
Follow the steps below to get started.
Install nix and optionally direnv and
lorri for a fully plug and play experience for setting up the
development environment. To get all the correct dependencies activate direnv direnv allow
and
lorri lorri shell
.
First, complete the basic Rust setup instructions.
Use the following command to build the Trappist collector binary:
cargo build --release
Create a bin
directory into the root of this repository and place the following binaries inside of it:
polkadot
(which you can download from the releases)polkadot-parachain
(which you will build from cumulus)trappist-collator
(which you will build from this repository)
Download the latest release of zombienet into the root of this repository and make it executable:
$ chmod +x zombienet-linux # OR
$ chmod +x zombienet-macos
Then, start the Trappist playground with:
./zombienet-linux -p native spawn xcm-playground.toml
Trappist is licensed under Apache 2.