0xWeb
  • 0xWeb
  • πŸ’»Installation
  • πŸ—ƒοΈBlockchains
  • πŸ“¦Package Manager
    • πŸ“‚Folder structure
    • πŸš€Dequanto dependency
    • πŸŽ†Installing contracts
    • πŸ”’Versioning
  • πŸ”Wallet
    • πŸ”‘Keys notice
    • πŸ™‚Accounts
  • πŸ’»CLI
    • Commands Overview
  • πŸ—„οΈGnosis Safe
    • πŸ™†β€β™‚οΈZero Trust Wallet
  • πŸš€Dequanto
    • ℹ️Info
    • πŸ•ΈοΈRPC Client Pool
    • πŸ—οΈTx Builder
    • πŸ“€Tx Writer
    • ⛓️Blockchain Explorers
    • πŸͺ™Token Services
    • πŸ—ƒοΈIndexer
    • ✨Utilities
  • ⛑️Hardhat
    • ℹ️Info
    • ⬇️Installation
    • 🧩Compile
    • πŸ’«Deploy
  • 0️Openzeppelin
    • Openzeppelin contracts
Powered by GitBook
On this page
  1. Openzeppelin

Openzeppelin contracts

PreviousDeploy

Last updated 2 years ago

We include the pre-built contracts, so you can access deployed contracts based on those interfaces with ease.

List of contracts:

e.g. ERC20 contract

import { ERC20 } from '@dequanto-contracts/openzeppelin/ERC20';
import { Web3ClientFactory } from '@dequanto/clients/Web3ClientFactory';

let client = Web3ClientFactory.get('eth');
let token = new ERC20('0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', client);
let balance: bigint = await token.balanceOf('0x....');
0️
OpenZeppelin
https://github.com/0xweb-org/dequanto/tree/master/contracts/openzeppelin