@collectivexyz/governance

Posted on Tue 13 December 2022 in tech • Tagged with TypeScript, npmjs, web3, Ethereum, governance

@collectivexyz just published @collectivexyz/governance

Install from command line:

 $ npm install @collectivexyz/governance

Install using yarn:

 $ yarn add @collectivexyz/governance

Usage

Simple example to connect to a governance contract.

import { EthWallet, Governance, GovernanceBuilder, CollectiveGovernance } from '@collectivexyz/governance';
import Web3 from 'web3';

export async function connect(): Promise<Governance> {
  try {
    const rpcUrl …

Continue reading