Starport is the easiest way to build blockchains. It is a developer-friendly interface to the Cosmos SDK, the world's most widely-used blockchain application framework. Starport generates boilerplate code for you, so you can focus on writing business logic.
Overview: https://www.youtube.com/watch?v=rmbPjCGDXek
➡️ Check out Starport in browser-based IDE. Fastest way to get started! starport
binary is already installed, just create an application and start hacking!
npm i -g @tendermint/starport
brew install tendermint/tap/starport
snap install --classic node
Append your current working directory to the environment variable PATH
:
export PATH=$PATH:$PWD/node_modules/.bin/
git clone https://github.com/tendermint/starport && cd starport && make
Requirements: Go 1.14 and Node.js (optional but highly recommended, used for the welcome screen and web app scaffolding).
The app
command creates a template for a Cosmos SDK blockchain. By default it also includes a module with the same name as the package. To create a new application called mychain
, run:
starport app github.com/foo/mychain
To start the server, go into you blockain's directory and run the serve
command:
starport serve
This commands installs dependencies, builds, initializes and runs the blockchain with live-reloading enabled. Learn more about creating and running applications with Starport in the docs.
The documentation can be found in the /docs
directory here.
- Blog (video) tutorial: get started with your first blockchain
- Poll tutorial: build a voting application with a web-based UI
- Smart contract tutorial: add smart contracts to your app with CosmWasm: build, upload, instantiate and run a smart contract
- Blog (from scratch) tutorial: learn how Starport works by building a blog without scaffolding
For questions and support please join the #starport channel in the Cosmos Community Discord. The issue list of this repo is exclusively for bug reports and feature requests.
develop
contains the development version. Find the last stable release under https://github.com/tendermint/starport/releases.
You can branch of from develop
and create a Pull Request or maintain your own fork and submit a Pull Request from there.
Starport is a product built by Tendermint. Follow us to get the latest updates!