Baseline Appchain Template¶
Introduction¶
The Tanssi repository includes a bare minimum Substrate template that provides the necessary configuration to support the Tanssi protocol and some essential modules, such as the one that allows handling the Tanssi appchain's currency.
This section covers this basic template, what it includes, and some aspects to consider when adding external dependencies.
Baseline Appchain Template¶
Developing a Substrate-based runtime typically involves two primary steps:
- Incorporating pre-existing Substrate built-in modules into the runtime
- Creating custom modules tailored to your specific application needs
Since the provided template already includes the essential configurations for seamless integration into the Polkadot ecosystem and compatibility with the Tanssi protocol, teams interested in constructing an innovative Tanssi appchain can use this template as a starting point for adding their custom logic.
Here are some of the features that come with this template:
- Utilize Tanssi's block production as a service
- Use Polkadot's finality gadget
- Benefit from Polkadot's shared security model
- Use the Polkadot.js API to interact with the Substrate API
By leveraging these features in the template, you can kickstart your Tanssi appchain development and customize it to meet your specific requirements and innovations.
Adding Extra Dependencies¶
The Substrate appchain template includes all the required modules and configurations that make it compatible with the Tanssi protocol, and also many other modules that provide basic functionalities.
This template is meant to be built on top of it, as most use cases require expanded capabilities, adding existing or custom modules. To learn how to add new functionalities to your runtime, check the customize runtime section.
| Created: November 4, 2023