Quick Start
Get started with BTTC development in four simple steps
01
Connect to BTTC
Add the BTTC network to MetaMask or use our RPC endpoint directly.
const BTTC_RPC = "https://rpc.bttc.io";02
Fund Your Wallet
Get BTT test tokens from our faucet to deploy and test your contracts.
curl -X POST https://faucet.bttc.io/drip \
-H "Content-Type: application/json" \
-d '{"address": "0x..."}'03
Deploy Your Contract
Use Hardhat or Foundry to deploy Solidity contracts to BTTC.
npx hardhat run scripts/deploy.ts --network bttc04
Verify & Monitor
Verify your contract on BTTcScan and monitor transactions in real-time.
npx hardhat verify --network bttc <CONTRACT_ADDRESS>EVM-Compatible from Day One
Deploy existing Solidity contracts to BTTC with zero modifications. Hardhat, Foundry, and Truffle work out of the box. Enjoy faster finality, lower fees, and native cross-chain interoperability.
- 100% EVM compatibility — no code changes needed
- Sub-second block finality with DPoS consensus
- Average transaction fee under $0.01
- Cross-chain messaging and asset bridging built in
- Access to 1,200+ active validators
BTTCStaking.sol
// Deploy a simple staking contract on BTTC
contract BTTCStaking {
mapping(address => uint256) public stakes;
uint256 public totalStaked;
uint256 public rewardRate = 600; // 60.0% APY
function stake() external payable {
stakes[msg.sender] += msg.value;
totalStaked += msg.value;
}
function unstake(uint256 amount) external {
require(stakes[msg.sender] >= amount);
stakes[msg.sender] -= amount;
totalStaked -= amount;
payable(msg.sender).transfer(amount);
}
}