Sidebar
Table of content
That web3js help you
@fewcha/web3
In your repository
With npm
npm install @fewcha/web3
With yarn
yarn add @fewcha/web3
import Web3, { Web3Provider, Web3ProviderStandard } from "@fewcha/web3";
const defaultNodeURL = "<https://fullnode.devnet.aptoslabs.com>";
const provider = new Web3Provider(defaultNodeURL);
const web3 = new Web3(provider);
import Web3, { Web3Provider, Web3ProviderStandard } from "@fewcha/web3";
const fewcha = (window as any).fewcha;
const provider = new Web3Provider(fewcha);
const web3 = new Web3(provider);