@mezo-org/orangekit-contracts
v1.0.0-beta.6
Published
Artifacts of OrangeKit contracts deployed to supported networks.
Downloads
636
Maintainers
Keywords
Readme
OrangeKit Contracts Artifacts
Artifacts of OrangeKit contracts deployed to supported networks.
The main index.ts file contains ABIs and addresses of contracts generated by
the @wagmi/cli tool, that can be used for type-safe
contracts integration with Viem.
The deployments/ directory contains artifacts of contracts generated by
Hardhat.
This is a lightweight package ready for integration, containing just the
artifacts, with no extra dependencies. If for any reason you need access the
source code or other Solidity contracts deliverables see the
@mezo-org/orangekit-solidity package.
Usage
- Install the package:
pnpm add @mezo-org/orangekit-contracts- Initialize Viem contract instance:
import { getContract } from "viem"
import { orangeKitSafeFactoryConfig } from "@mezo-org/orangekit-contracts"
const orangeKitSafeFactory = getContract({
...orangeKitSafeFactoryConfig,
client,
})