ethcc-plugin2

1.0.3 • Public • Published

Getting started

import { PluginTest } from "ethcc";
import { Web3 } from "web3";

//initialize rpc and plugin
const web3 = new Web3("https://arbitrum.llamarpc.com");
web3.registerPlugin(new PluginTest());

//use plugin
web3.ethcc.arbitrum();
web3.ethcc.starknet();
web3.ethcc.zkSync();
web3.ethcc.zkEvm("14060423");

/ethcc-plugin2/

    Package Sidebar

    Install

    npm i ethcc-plugin2

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    2.33 kB

    Total Files

    4

    Last publish

    Collaborators

    • santiagodevrel