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
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 the CLI @starship-ci/cli
:
npm install -g @starship-ci/cli
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.
yarn starship start --config config.yaml
# stop ports and delete deployment
yarn starship stop --config config.yaml
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
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.
🛠 Built by Cosmology — if you like our tools, please consider delegating to our validator ⚛️
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.