spn

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: Apache-2.0

README

Starport Network

This branch contains the source code for the 1.0 version of Starport Network. To access the source code of the currently deployed proof of concept, visit the master-legacy branch.

spn is a blockchain built using Cosmos SDK and Tendermint and created with Starport.

Get started

starport chain serve

serve command installs dependencies, builds, initializes, and starts your blockchain in development.

Configure

Your blockchain in development can be configured with config.yml. To learn more, see the Starport docs.

Launch

To launch your blockchain live on multiple nodes, use starport network commands. Learn more about Starport Network.

Web Frontend

Starport has scaffolded a Vue.js-based web app in the vue directory. Run the following commands to install dependencies and start the app:

cd vue
npm install
npm run serve

The frontend app is built using the @starport/vue and @starport/vuex packages. For details, see the monorepo for Starport front-end development.

Release

To release a new version of your blockchain, create and push a new tag with v prefix. A new draft release with the configured targets will be created.

git tag v0.1
git push origin v0.1

After a draft release is created, make your final changes from the release page and publish it.

Install

To install the latest version of your blockchain node's binary, execute the following command on your machine:

curl https://get.starport.network/tendermint/spn@latest! | sudo bash

tendermint/spn should match the username and repo_name of the Github repository to which the source code was pushed. Learn more about the install process.

Learn more

Starport Network (SPN) is a free and open source product maintained by Tendermint. Here's where you can find us. Stay in touch.

Directories

Path Synopsis
app
cmd
spnd command
pkg
chainid
Package chainid defines helper methods to manipulate and verify chain id used in Cosmos-SDK blockchain genesis
Package chainid defines helper methods to manipulate and verify chain id used in Cosmos-SDK blockchain genesis
errors
Package errors defines methods to handle specific error in spn blockchain like critical errors
Package errors defines methods to handle specific error in spn blockchain like critical errors
types
Package types defines types to handle IBC handshakes in SPN modules Package types defines types for monitored validator activities Package types defines types to handle IBC handshakes in SPN modules
Package types defines types to handle IBC handshakes in SPN modules Package types defines types for monitored validator activities Package types defines types to handle IBC handshakes in SPN modules
testutil
constructor
Package constructor provides constructors to easily initialize objects for test purpose with automatic error handling
Package constructor provides constructors to easily initialize objects for test purpose with automatic error handling
keeper
Package keeper provides methods to initialize SDK keepers with local storage for test purposes
Package keeper provides methods to initialize SDK keepers with local storage for test purposes
network
Package network allows to programmatically spin up a local network for CLI tests
Package network allows to programmatically spin up a local network for CLI tests
nullify
Package nullify provides methods to init nil values structs for test assertion.
Package nullify provides methods to init nil values structs for test assertion.
sample
Package sample provides methods to initialize sample object of various types for test purposes
Package sample provides methods to initialize sample object of various types for test purposes
x
campaign/types
Package types is a reverse proxy.
Package types is a reverse proxy.
launch/types
Package types is a reverse proxy.
Package types is a reverse proxy.
monitoringc/types
Package types is a reverse proxy.
Package types is a reverse proxy.
monitoringp/types
Package types is a reverse proxy.
Package types is a reverse proxy.
participation/types
Package types is a reverse proxy.
Package types is a reverse proxy.
profile/types
Package types is a reverse proxy.
Package types is a reverse proxy.
reward/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL