0.10.10 • Published 2 months ago
@xinfin/osx-daofin-contracts-ethers v0.10.10
Aragon OSx Contracts for ethers.js
NPM package that provides ethers.js wrappers to use the Aragon DAO framework smart contracts.
yarn add @aragon/osx-ethers
Usage
Attaching to a contract
import {
DAOFactory__factory
} from "@aragon/osx-ethers";
// Use it
const daoFactoryInstance = DAOFactory__factory.connect(...);
Getting the list of global contract addresses
import {activeContractsList} from '@aragon/osx-ethers';
console.log(activeContractsList.rinkeby.DAOFactory);
// '0x2290E6dF695C5272cE942015c90aAe24bFB94960'
console.log(activeContractsList.rinkeby.Registry);
// '0x5895B0B32d438f85872b164AE967B3E802d33750'
console.log(activeContractsList.rinkeby.TokenFactory);
// '0x84641573c077F12C73bd2612fe1d96AE58bE7D1a'
Development
- Run
yarn
at the root of the monorepo, not on this folder. - Then, in the
contracts-ethers
folder run:yarn run:contracts
yarn run
yarn run:npm
0.10.10
2 months ago
0.10.9
3 months ago
0.10.8
3 months ago
0.10.7
4 months ago
0.10.6
4 months ago
0.10.5
4 months ago
0.10.4
7 months ago
0.10.3
7 months ago
0.10.2
7 months ago
0.10.1
7 months ago
1.2.9
7 months ago
1.2.8
8 months ago
1.2.7
8 months ago
1.2.5
8 months ago
1.2.3
8 months ago
1.2.2
9 months ago
1.2.1
9 months ago