@fewcha/web3
TypeScript icon, indicating that this package has built-in type declarations

0.1.38 • Public • Published

@fewcha/web3

The @fewcha/web3 library aims to be an all-in-one toolkit to enable developers interact with Aptos Blockchain and its ecosystem.

Check the documentation at https://docs.fewcha.app/

Install

Install Aptos SDK and fewcha Web3 to wrapper window.fewcha with TypeScript types.

yarn add aptos @fewcha/web3

Supported direct Node URL and Fewcha Wallet

  • Node URL, example: https://fullnode.devnet.aptoslabs.com
  • Fewcha Wallet

Usage

With Fewcha Wallet

import Web3 from '@fewcha/web3';

const web3 = new Web3();

// ...
<button
  onClick={() => {
    web3.action.connect();
  }}
>
  Connect Aptos
</button>

API

Learn more all functions at https://github.com/fewcha-wallet/aptos-web3/blob/main/packages/web3/src/types.ts

License

MIT

Dependents (23)

Package Sidebar

Install

npm i @fewcha/web3

Weekly Downloads

4,597

Version

0.1.38

License

MIT

Unpacked Size

91.2 kB

Total Files

36

Last publish

Collaborators

  • hoalee_58