Awesome
Starship
<p align="center" width="100%"> <img height="148" src="https://user-images.githubusercontent.com/10805402/242348990-c141d6cd-e1c9-413f-af68-283de029c3a4.png" /> </p> <p align="center" width="100%"> <a href="https://github.com/cosmology-tech/starship/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a> <a href="https://github.com/cosmology-tech/starship/releases/latest"><img height="20" src="https://github.com/cosmology-tech/starship/actions/workflows/release.yaml/badge.svg"></a> <a href="https://github.com/cosmology-tech/starship/actions/workflows/build.yaml"><img height="20" src="https://github.com/cosmology-tech/starship/actions/workflows/build.yaml/badge.svg"></a> <a href="https://github.com/cosmology-tech/starship/actions/workflows/pr-tests.yaml"><img height="20" src="https://github.com/cosmology-tech/starship/actions/workflows/pr-tests.yaml/badge.svg"></a> <a href="https://github.com/cosmology-tech/starship/actions/workflows/docs.yaml"><img height="20" src="https://github.com/cosmology-tech/starship/actions/workflows/docs.yaml/badge.svg"></a> <a href="https://github.com/cosmology-tech/starship/actions/workflows/starship-docker.yaml"><img height="20" src="https://github.com/cosmology-tech/starship/actions/workflows/starship-docker.yaml/badge.svg"></a> <a href="https://github.com/cosmology-tech/starship/actions/workflows/run-client-tests.yml"><img height="20" src="https://github.com/cosmology-tech/starship/actions/workflows/run-client-tests.yml/badge.svg" /></a> </p>Universal interchain development environment in k8s. The vision of this project is to have a single easy to use developer environment with full testing support for multichain use cases
Prerequisites
To get started, you’ll need:
- Kubernetes setup (recommended: Docker Desktop with kubernetes support for local setups): [Docker Desktop](https://www.docker.com/products/docker-desktop/
kubectl
: Installation Guidehelm
: Installation Guide
For further information, refer to the Starship Documentation on kubernetes setup and configuration.
Install
Install the CLI @starship-ci/cli
:
npm install -g @starship-ci/cli
Configuration
To configure Starship for multichain support, create a configuration file (e.g., config.yaml
).
Here’s a sample configuration:
name: starship-localnet
version: 0.2.20
chains:
- id: osmosis-1
name: osmosis
numValidators: 2
ports:
rest: 1313
rpc: 26653
faucet: 8003
- id: cosmoshub-4
name: cosmoshub
numValidators: 2
ports:
rest: 1317
rpc: 26657
faucet: 8007
relayers:
- name: osmos-cosmos
type: hermes
replicas: 1
chains:
- osmosis-1
- cosmoshub-4
explorer:
enabled: true
ports:
rest: 8080
registry:
enabled: true
ports:
rest: 8081
For more details on the configuration options and directives available, refer to the Starship Config.
Running Starship
Deploying 🚀
yarn starship start --config config.yaml
Teardown 🛠️
# stop ports and delete deployment
yarn starship stop --config config.yaml
Recommended Usage 📘
Stay tuned for a create-cosmos-app
boilerplate! For now, this is the most recommended setup. Consider everything else after this section "advanced setup".
- We recommend studying the osmojs starship integration and replicating it.
- Add your configs, similar to how it's done here
- Add your workflows for GitHub Actions like this
- Add
yarn starship
commands to your package.json scripts like this — Note the jest configurations in the osmojs package
Related
Checkout these related projects:
- @cosmology/telescope Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
- @cosmwasm/ts-codegen Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
- chain-registry Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application.
- cosmos-kit Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
- create-cosmos-app Set up a modern Cosmos app by running one command.
- interchain-ui The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
- starship Unified Testing and Development for the Interchain.
Credits
🛠 Built by Cosmology — if you like our tools, please consider delegating to our validator ⚛️
Disclaimer
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.