neutron

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0

README

Neutron

Neutron

NOTE: current version is a WIP.

Requirements

  • Go 1.18
  • Ignite Cli
  • Hermes IBC Relayer
How to install Ignite CLI
curl https://get.ignite.com/cli! | bash
How to install Hermes IBC Relayer
cargo install --version 1.0.0 ibc-relayer-cli --bin hermes --locked

Build and Install Neutron Zone

make install

Run local testnet node instances connected via IBC

Bootstrap two chains and create an IBC connection
make init
Start relayer
make start-rly

Generate proto

ignite generate proto-go

Running with docker

Build the image:

make build-docker-image

After the image is built, you can start/stop with:

make start-docker-container
make stop-docker-container

Running with docker + relayer

ssh-add ./.ssh/id_rsa
make start-cosmopark
make stop-cosmopark

Make sure you delete node image if you use the whole thing in dev purposes

@docker rmi neutron_node

Documentation

You can check the documentation here: https://neutron-org.github.io/neutron-docs/

Note: we are going to open & deploy the docs soon.

Examples

You can check out the example contracts here: https://github.com/neutron-org/neutron-contracts

Tests

Integration tests are implemented here: https://github.com/neutron-org/neutron-integration-tests

Directories

Path Synopsis
app
cmd
contractmanager/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.
interchainqueries/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.
interchaintxs/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.
x
contractmanager/types
Package types is a reverse proxy.
Package types is a reverse proxy.
feerefunder/types
Package types is a reverse proxy.
Package types is a reverse proxy.
interchainqueries/types
Package types is a reverse proxy.
Package types is a reverse proxy.
interchaintxs/types
Package types is a reverse proxy.
Package types is a reverse proxy.
transfer/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