> For the complete documentation index, see [llms.txt](https://docs.0xweb.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0xweb.org/package-manager/installing-contracts.md).

# Installing contracts

The TypeScript class are generated from ABI, which will be resolved from various sources.

### Blockchain Explorer

By providing the contract address and the chain (default is `Ethereum`). **Proxy contracts** will be automatically followed to the implementation contract, to resolve the implementation ABI&#x20;

> ❗To prevent blockchain API request throttling, provide your keys in config file:
>
> &#x20;`0xweb config --edit`

```bash
0xweb i 0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419 --name chainlink/oracle-eth
```

### ABI json

Specify a local ABI JSON file, for example that one generated by solidity compiler

```bash
0xweb i ./artifacts/contracts/FooBar.sol/FooBar.json --name foobar
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/package-manager/installing-contracts.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.
