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
  1. V1
  2. Nomos SDK

Nomos

Nomos class on SDK

PreviousNomos SDKNextMultisig

Last updated 1 year ago

Before jumping into how to use the Nomos base class is recommended to go to our installation and initialization first.

Methods

Init

init(provider: SigningCosmWasmClient): Promise<void>

Initializes the nomos object with a provider. It gets chain configuration and throws if the provider network is not supported (nomos contracts are not deployed on that chain).

Create multisig

createMultisig(
  args: {members: string[]; minApproval: number; from: string},
  options?: {
    factory?: string;
  },
):Promise<{    
    multisig: string | undefined;
    transactionHash: string;
    events: readonly Event[];
}>

Creates a multi-signature wallet using our factory. It receives arguments which is an object with the following parameters:

  • members: List of addresses that will participate in the multisig.

  • minApproval: minimum approval a proposal needs to be executed.

  • from: The account of the provider that will send the transaction

It also receives an optional object which contains a custom factory.

steps