Sourced Local Dev Setup
These settings are only for development use of Source Chain on a local machine.
Want to use sourced locally for development, or to work with smart contracts? You're in the right place. To get started with smart contract development, we recommend running on a laptop until you are ready to deploy to a public testnet.

Follow the instructions here to install Go.
For an Ubuntu LTS, you can probably use:
wget https://golang.org/dl/go1.18.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.18.2.linux-amd64.tar.gz
Please install Go v1.18 or later.
Unless you want to configure in a non standard way, then set these in the .profile in the user's home (i.e. ~/) folder.
nano ~/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
After updating your ~/.profile you will need to source it:
source ~/.profile

Follow the instructions here to install Ignite CLI. (Ignite CLI can also be used in an online Gitpod container here)
sudo curl https://get.ignite.com/cli! | sudo bash

git clone -b testnet https://github.com/Source-Protocol-Cosmos/source.git

cd ~/source
ignite chain serve
Your local chain should now be running in development mode with two funded genesis accounts and a single validator for testing purposes.
Copy link
On this page
Local Source Chain set up with Ignite CLI
Install Pre-requisites