Comment on page
Sourced Local Dev Setup
These settings are only for development use of Source Chain on a local machine.
Want to use
sourcedlocally 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.
For an Ubuntu LTS, you can probably use:
ver="1.19" && \
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \
sudo rm -rf /usr/local/go && \
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \
rm "go$ver.linux-amd64.tar.gz" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && \
source $HOME/.bash_profile && \
Please install Go v1.19 or later.
sudo curl https://get.ignite.com/cli! | sudo bash
git clone https://github.com/Source-Protocol-Cosmos/source.git
git checkout v3.0.0
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.