DevelopersApr 3, 20269 min readTetreum Developer Relations
Building dApps on Tetreum: A Developer's Complete Guide
If you've built on Ethereum, Polygon, or BNB Chain before, you already know how to build on Tetreum. Our full EVM compatibility means zero re-learning — just point your existing tools at our RPC and start deploying.
Prerequisites
- Node.js 18+ installed
- MetaMask browser extension
- Hardhat or Foundry project set up
- Basic Solidity knowledge
Step 1: Connect to Tetreum Testnet
Network Name: Tetreum Testnet
RPC URL: https://testrpc.tetreum.com
Chain ID: 793788
Currency: TET
Explorer: https://testnet.tetscan.comStep 2: Configure Hardhat
import { HardhatUserConfig } from "hardhat/config";
const config: HardhatUserConfig = {
solidity: "0.8.24",
networks: {
tetreum_testnet: {
url: "https://testrpc.tetreum.com",
chainId: 793788,
accounts: [process.env.PRIVATE_KEY!],
},
},
};
export default config;Step 3: Deploy Your Contract
npx hardhat run scripts/deploy.ts --network tetreum_testnetStep 4: Connect Your Frontend with wagmi
import { defineChain } from "viem";
export const tetreumTestnet = defineChain({
id: 793788,
name: "Tetreum Testnet",
nativeCurrency: { name: "TET", symbol: "TET", decimals: 18 },
rpcUrls: {
default: { http: ["https://testrpc.tetreum.com"] },
},
blockExplorers: {
default: { name: "TetScan", url: "https://testnet.tetscan.com" },
},
});"The best Tetreum dApps are architecturally simple at the contract level and rich at the frontend. Our parallelism does the heavy lifting — your contract just needs to be correct." — Tetreum DevRel
Available Resources
- TetScan Explorer: Full transaction and contract verification
- GraphQL API: Advanced on-chain data queries
- Official RPC: Public and rate-limited for development
- Testnet Faucet: Free TET for testing (coming soon)
💡
Visit testnet.tetscan.com to verify your deployed contracts and explore on-chain activity in real time.
Ready to build on Tetreum?
Connect to Testnet, deploy a contract, and go live in minutes.
