Skip to main content

Getting Started

Installation

Using NPM

npm install @dioxide-js/web3.js

Using Yarn

yarn add @dioxide-js/web3.js

Getting Started

import { Web3, NET } from '@dioxide-js/web3.js';

const web3 = new Web3(NET.TEST);

// Get the balance of an address
const balance = await web3.addr.getBalance('0x1234567890abcdef1234567890abcdef12345678');
console.log(balance);