Setting Up Your Environment
Before you dive into developing and interacting with CosmWasm contracts within the Nomos monorepo, follow these steps to set up your development environment.
Prerequisites
Make sure you have the following prerequisites installed on your machine:
Rust: Ensure that you have rust installed. You can install it from its main website.
Git: If Git is not installed, you can download it from git-scm.com.
Archway CLI: Follow these steps to make the installation
Installation Steps
Follow these steps to set up your environment for CosmWasm contract development:
Clone the Monorepo:
Open your terminal and navigate to the directory where you want to store the monorepo:
Install Dependencies:
Move to the
contracts
folder inside the monorepo. Youll see two folders called factory and multisig.Install the required dependencies by running:
then run this to download the packages and compile:
Configure Archway CLI:
Follow the steps specified on the archway documentation to create a wallet and fund it on their faucet.
Compile Contracts:
From the folder you are working on compile the contracts
Test Contracts:
Ensure that the contracts are working as expected by running tests:
By following these steps, you'll have your environment set up to work with the Nomos contracts, enabling you to develop and interact with CosmWasm contracts efficiently.
Last updated