# @fewcha/web3

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

Latest version **0.1.38** (published 2023-06-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @fewcha/web3
pnpm add @fewcha/web3
yarn add @fewcha/web3
bun add @fewcha/web3
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.38 |
| Published | 2023-06-21 |
| First published | 2022-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 89 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | fewcha.app |
| Maintainers | levien2506.workspace, hoalee_58, pierreneter |
| Keywords | Aptos, Web3, Fewcha Wallet, Wallet, Aptos Wallet, Dapp, Dapps, Blockchain |

## Links

- npm: https://www.npmjs.com/package/@fewcha/web3
- Repository: https://github.com/fewcha-wallet/aptos-web3
- Issues: https://github.com/fewcha-wallet/aptos-web3/issues
- npm.io page: https://npm.io/package/@fewcha/web3

## Dependencies (3)

- [aptos](https://npm.io/package/aptos.md) ^1.10.0
- [buffer](https://npm.io/package/buffer.md) ^6.0.3
- [@mysten/sui.js](https://npm.io/package/@mysten/sui.js.md) ^0.13.0

## Recent versions

- 0.1.38 (latest) — 2023-06-21
- 0.1.37 — 2022-11-09
- 0.1.36 — 2022-11-09
- 0.1.35 — 2022-10-27
- 0.1.34 — 2022-10-18
- 0.1.33 — 2022-10-16
- 0.1.32 — 2022-09-23
- 0.1.28 — 2022-09-21
- 0.1.27 — 2022-09-21
- 0.1.25 — 2022-08-30
- 0.1.24 — 2022-08-30
- 0.1.22 — 2022-08-29
- 0.1.21 — 2022-08-27
- 0.1.20 — 2022-08-24
- 0.1.19 — 2022-08-22
- … 15 more at https://npm.io/package/@fewcha/web3/versions

## README

# @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.

```bash
yarn add aptos @fewcha/web3
```

## Supported direct Node URL and Fewcha Wallet

- Node URL, example: `https://fullnode.devnet.aptoslabs.com`
- [Fewcha Wallet](https://fewcha.app)

## Usage

### With Fewcha Wallet

```js
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

---
_Source: https://npm.io/package/@fewcha/web3 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
