• Contract Package Manager
• CLI Wallet, Safe, Account Abstraction (ERC4337)
Create dAPP clients with ease by generating type-safe classes

📦 Package Manager

Verified sources


or the ByteCode   is parsed

Code generation

— TypeScript classes

Full storage access

— Read also private variables data

Type safety

— for READ and WRITE actions

API & CLI

— usage of contracts

Dependencies

— automatically installed

Blockchain layer

— built-in communication

Open source

— contributions welcome

Solidity developers

— enhanced addition to Hardhat

0xweb.json

— to manange dependencies

💡 Understand in seconds

Generated
shell
> npm i 0xweb -g # Optionally edit the configuration > 0xweb config -e # Prepair dependencies in project > 0xweb init # Install any validated contract by address > 0xweb i 0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419 --name chainlink/oracle-eth
example.ts
import { ChainlinkOracleEth } from './0xweb/eth/chainlink/oracle-eth/oracle-eth'; import { Config } from '@dequanto/Config'; import { $bigint } from '@dequanto/utils/$bigint'; async function example () { // loads configuration await Config.fetch(); const oracle = new ChainlinkOracleEth(); const decimals: number = await oracle.decimals(); const price: bigint = await oracle.latestAnswer(); console.log(`ETH Price: ${ $bigint.toEther(price, decimals) } USD`); } example();

read the value from cli
> 0xweb contract read chainlink/oracle-eth latestAnswer

🔑 Wallet

🔐 The root key for the wallet is derived from the machine key and the password you provide, which won`t be stored anywhere
shell
0xweb accounts new --name foo --pin somepassword 0xweb token transfer USDC --from foo --to 0x123... --amount 5 --chain polygon --pin somepassword
0
check_circle_outline
0
error_outline
0
open_in_browser