# 0xWeb

### 1. CLI Toolkit for EVM compatibale blockchains&#x20;

By using [dequanto](https://github.com/0xweb-org/dequanto) library we export the most common WEB3 commands to be accessible straight from your command line interface. &#x20;

### 2. Interacting with EVM Smart Contracts in Node.js done in seconds.&#x20;

Generate <img src="https://1552013600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJspCHYVWgkCtBT47Ydgr%2Fuploads%2FH7Sl7A7fFZTea7nMx05S%2Fimage.png?alt=media&#x26;token=6e95e54f-5bb4-4fbc-87e8-0b071c7ca84c" alt="" data-size="line">TypeScript classes for validated smart contracts and import them as regular modules. **Read** methods, **Write** methods, **Event** listeners, and **Log** parsers — everything is already included. Access **private storage** variables with auto-generated getter functions.

`0xWeb` is built on top of [dequanto](https://github.com/0xweb-org/dequanto) library — the blockchain communication layer, which is integrated under the hood.&#x20;

We believe in the openness and transparency of the web.  And we want to provide anybody with a **quick** and **easy** way to integrate blockchain solutions.

An example of what you will get

> Lets get an ETH price from the [onchain oracle](https://data.chain.link/ethereum/mainnet/crypto-usd/eth-usd) by chainlink.

* <img src="https://1552013600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJspCHYVWgkCtBT47Ydgr%2Fuploads%2FtTcohd47Oa7zCuUWCU9M%2Fimage.png?alt=media&#x26;token=49ff56aa-54d0-445e-b813-ce58cfd203c7" alt="" data-size="line"> Install the contract

```bash
0xweb install 0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419 --name chainlink/oracle-eth --chain eth
```

* <img src="https://1552013600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJspCHYVWgkCtBT47Ydgr%2Fuploads%2FlUMu8wCj0c5FYiyqwcFb%2Fimage.png?alt=media&#x26;token=dc67e0ef-cce7-4169-9014-f240255d3018" alt="" data-size="line"> Get the price

```typescript
const oracle = new ChainlinkOracleEth();
const price: bigint = await oracle.latestAnswer();
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0xweb.org/0xweb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
