> For the complete documentation index, see [llms.txt](https://docs.tetreum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tetreum.com/network/smart-contract-platform/contract-deployment.md).

# Contract Deployment

Smart contracts can be deployed to the Tetreum testnet through standard JSON-RPC calls or REST-based tooling.

## Endpoints listed in the source

### JSON-RPC

`https://testrpc.testscan.com`

Supported examples include:

* `eth_sendTransaction`
* `eth_getTransactionReceipt`
* `eth_getBalance`

### REST API

`https://testnet.tetscan.com/api-docs`

The REST layer is described as providing access to contracts, blocks, transactions, tokens, and search functionality.

## Example deployment request

```bash
curl -X POST https://testrpc.testscan.com \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_sendTransaction",
    "params": [{
      "from": "0xYourAddress",
      "to": "0xTargetAddress",
      "value": "0x9184e72a000",
      "gas": "0x76c0",
      "gasPrice": "0x9184e72a000"
    }],
    "id": 1
  }'
```

## Supported SDKs and libraries listed in the source

| Language        | SDK package                   |
| --------------- | ----------------------------- |
| JavaScript      | `@Tetreum/sdk`                |
| Python          | `Tetreum-python`              |
| Go              | `github.com/Tetreum/go-sdk`   |
| Web3 compatible | `web3.js` via RPC integration |

## API rate limits listed in the source

| Access level | Rate limit     | Authentication |
| ------------ | -------------- | -------------- |
| Public       | 100 req/min/IP | No             |
| Premium      | 1000 req/min   | API key        |

> Review note: the source file also references a similar but different RPC host elsewhere. See `REVIEW-NOTES.md`.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.tetreum.com/network/smart-contract-platform/contract-deployment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
