Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@celo/abis
Advanced tools
Smart contracts ABIS for the Celo protocol.
npm install @celo/abis
or
yarn add @celo/abis
// abi in json
import AccountsABI from '@celo/abis/Accounts.json'
// abi in js/ts for viem, wagmi, etc
import { accountsABI } from '@celo/abis'
// abi in js/ts for viem, wagmi, etc (with moduleResolution and module set to "Node16" in your tsconfig.json file)
import { accountsABI } from '@celo/abis/Accounts'
// abi in js/ts for use with contractkit
import { type Accounts, newAccounts, ABI } from '@celo/abis/web3/Accounts'
const { accountsABI } = require('@celo/abis');
// viem
const accounts = getContract({
address: "0x...",
abi: accountsABI,
...
})
All packages are licensed under the terms of the Apache 2.0 License unless otherwise specified in the LICENSE file at package's root.
FAQs
Smart contracts ABIS for the Celo protocol.
We found that @celo/abis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.