nomos
  • V1
    • Getting Started
      • Technology Stack
      • Setting Up Your Environment
      • Deploying Smart Contracts
      • Interacting with Smart Contracts
    • Protocol Overview
      • Factory
      • Nomos
      • Supported Networks
      • GraphQL API
    • Nomos SDK
      • Nomos
      • Multisig
      • Examples
      • Utils
    • Nomos Providers
      • Nomos Client
      • Signing Nomos Client
      • Archway Nomos Client
      • Adding a Nomos App
      • User authentication
    • ICA
  • V2
    • Features
    • Networks
    • Structure
      • Account Settings
      • Factory
        • Wallet
        • Membership
        • Vote Module
        • Authz Proxy
    • Frontend
      • Create Proposal
Powered by GitBook
On this page
  • Prerequisites
  • Installation Steps
  1. V1
  2. Getting Started

Setting Up Your Environment

PreviousTechnology StackNextDeploying Smart Contracts

Last updated 1 year ago

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 .

  • Git: If Git is not installed, you can download it from .

  • Archway CLI: Follow to make the installation

Installation Steps

Follow these steps to set up your environment for CosmWasm contract development:

  1. Clone the Monorepo:

    Open your terminal and navigate to the directory where you want to store the monorepo:

    git clone https://github.com/chelofinance/Nomos-archway-mult0isig.git nomos
    cd nomos
  2. Install Dependencies:

    Move to the contracts folder inside the monorepo. Youll see two folders called factory and multisig.

    cd contracts && ls

    Install the required dependencies by running:

    cd <factory | multisig> 

    then run this to download the packages and compile:

    cargo build
  3. Configure Archway CLI:

    Follow the steps specified on the archway documentation to create a wallet and fund it on their faucet.

  4. Compile Contracts:

    From the folder you are working on compile the contracts

    archway build --optimize
  5. Test Contracts:

    Ensure that the contracts are working as expected by running tests:

    cargo test

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.

website
git-scm.com
these steps