Quick Start
Quick start

Smart contract Development
Smart contracts are written in TOMB and deployed with pha-deploy:
Connecting to the Chain APIs
Note
Every Phantasma node serves both a JSON-RPC and a REST interface on the same host. In these pages, “RPC” means the node endpoint unless REST or JSON-RPC is called out explicitly.
The interface paths are the same on every node and network:
| Interface | Path | Notes |
|---|---|---|
| JSON-RPC | /rpc | Primary programmatic interface (HTTP POST). |
| REST | /api/v1 | Same methods and argument names as JSON-RPC. |
| JSON-RPC, REST | /rpc/v2, /api/v2 | The same methods with metadata and NFT property values as real JSON. |
| API reference | / | The node root redirects to the interactive Swagger UI. |
For example, on mainnet node 1, JSON-RPC is https://pharpc1.phantasma.info/rpc and REST is https://pharpc1.phantasma.info/api/v1. In production, discover live nodes from the network’s peers list instead of hardcoding a single node. Node RPC describes every method and answer.
Mainnet
| Resource | Endpoint |
|---|---|
| Explorer | explorer.phantasma.info |
| RPC node 1 | |
| RPC node 2 | |
| RPC node 3 | |
| Peers list | |
Testnet
| Resource | Endpoint |
|---|---|
| Explorer | testnet-explorer.phantasma.info |
| RPC node | |
| Peers list | |
Devnet
| Resource | Endpoint |
|---|---|
| Explorer | devnet-explorer.phantasma.info |
| RPC node | |
| Peers list | |
Phantasma SDKs
Note
Phantasma ships SDKs for C#, Unity, TypeScript/JavaScript, Go, Python, Rust, and C++. Pick the one that matches your stack.