Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.teqoin.io/llms.txt

Use this file to discover all available pages before exploring further.

SDKs and libraries

TeQoin is EVM-compatible, so you can use standard Ethereum tooling instead of waiting for chain-specific packages.

Smart contracts

  • solc for compilation
  • OpenZeppelin Contracts for audited building blocks
  • Hardhat or Foundry for development and deployment

Frontend and backend apps

  • ethers for contract calls and transactions
  • viem for typed client utilities
  • wagmi for React wallet state and hooks

Install examples

Hardhat

npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox dotenv

Foundry

curl -L https://foundry.paradigm.xyz | bash
foundryup

Frontend libraries

npm install ethers
npm install viem wagmi @tanstack/react-query

Picking a stack

Use this rule of thumb:
NeedBest fit
Fastest contract iterationFoundry
Familiar JavaScript workflowHardhat
Small frontend appethers
React production appwagmi + viem

Network configuration snippet

export const teqoin = {
  id: 420377,
  name: 'TeQoin L2',
  network: 'teqoin',
  nativeCurrency: {
    name: 'Ether',
    symbol: 'ETH',
    decimals: 18,
  },
  rpcUrls: {
    default: {
      http: ['https://rpc.teqoin.io'],
    },
  },
};

Good defaults for new teams

If you are starting from scratch:
  1. Use Foundry for contracts.
  2. Use React + Vite for the frontend.
  3. Use ethers for the first integration.
  4. Add Wagmi only when you need richer wallet UX.