Celo core contracts ABIS
Smart contracts ABIS for the Celo protocol.
Usage
Installation
npm install @celo/abis
or
yarn add @celo/abis
In your javascript or ts
import AccountsABI from '@celo/abis/Accounts.json'
import { accountsABI } from '@celo/abis'
import { accountsABI } from '@celo/abis/Accounts'
import { type Accounts, newAccounts, ABI } from '@celo/abis/web3/Accounts'
CommonJS syntax
const { accountsABI } = require('@celo/abis');
const accounts = getContract({
address: "0x...",
abi: accountsABI,
...
})
License
All packages are licensed under the terms of the Apache 2.0 License unless otherwise specified in the LICENSE file at package's root.