Unipoly
UNIPOLY CHAIN
Unipoly Chain
Explorer Wallet Login Get Started
Developers

Build on Unipoly Chain

Everything you need to build GameFi experiences, dApps, and smart contracts on Unipoly Chain — powered by UniScript and UVM.

Quick Start

Get Started in 3 Steps

From zero to deployed smart contract in minutes.

1

Set Up Your Environment

Install the Unipoly SDK and configure your development environment.

# Install Unipoly CLI
npm install -g @unipoly/cli

# Initialize a new project
unipoly init my-dapp
cd my-dapp
2

Write Your Smart Contract

Create contracts using UniScript — our C#-inspired smart contract language.

// contracts/GameReward.uni
contract GameReward {
  event RewardClaimed(address player, uint256 amount);

  mapping(address => uint256) public scores;

  function recordScore(uint256 score) public {
    scores[msg.sender] = score;
  }

  function claimReward() public {
    uint256 reward = scores[msg.sender] * 10;
    emit RewardClaimed(msg.sender, reward);
  }
}
3

Deploy to Testnet

Compile and deploy your contract to the Unipoly testnet.

# Compile the contract
unipoly compile

# Deploy to testnet
unipoly deploy --network testnet

✓ Contract deployed at 0x7c5cfc...a3b2
✓ Verified on UNP Explorer
Resources

Developer Resources

UniScript Documentation

Comprehensive guide to the UniScript language, including syntax, types, and built-in functions.

Language Guide

SDK Libraries

Pre-built libraries for common patterns: tokens, NFTs, GameFi logic, and DAO governance.

npm packages

Tutorials

Step-by-step guides for building your first dApp, GameFi contract, and NFT marketplace.

Beginner Friendly

Testnet

Deploy and test your contracts on the live Unipoly testnet with free test UNP Coins.

Free Test Tokens

AI Contract Generator

Describe your smart contract in natural language and let AI write production-ready UniScript code for you.

Open AI Assistant

AI Token Creator

Create custom tokens with AI — set supply, burning, staking, and governance rules through simple conversation.

Create Token

AI DEX Listing

Automatically list your AI-created token on the Unipoly DEX with optimized liquidity pools.

List on DEX

AI Security Audit

Every AI-generated contract is automatically analyzed for vulnerabilities and security best practices.

Auto-Audit

REST API

Full REST API for querying blocks, transactions, accounts, and contract states.

WebSocket Events

Real-time event streaming for blocks, transactions, and contract events.

Explorer API

Programmatic access to the UNP Chain Explorer for analytics and data queries.

Authentication

JWT-based authentication for secure API access and transaction signing.

Unipoly CLI

Command-line tool for project scaffolding, compilation, deployment, and testing.

Creator Studio (UCE)

No-code platform for building dApps and minting NFTs without writing code.

Debug Tools

Built-in contract debugger, transaction tracer, and gas analyzer for optimization.

Security Auditor

Automated smart contract security analysis to detect common vulnerabilities.

Discord Community

Join thousands of developers building on Unipoly Chain. Get help and share projects.

GitHub

Open-source examples, templates, and community-contributed libraries.

Hackathons

Regular hackathons with UNP prizes for innovative GameFi and creator dApps.

Grant Program

Apply for development grants to fund your Unipoly ecosystem project.

AI-Powered

Create Contracts with AI

No coding experience? No problem. Our AI assistant creates, audits, and deploys smart contracts for you.

// You tell the AI what you want:
"Create a token called MyToken with
 1 million supply, deflationary burn,
 and list it on the DEX"

// AI generates the UniScript contract:
contract MyToken {
  string name = "MyToken";
  uint256 totalSupply = 1000000;
  uint256 burnRate = 1; // 1% per tx

  function transfer(address to, uint256 amt) {
    uint256 burn = amt * burnRate / 100;
    balances[msg.sender] -= amt;
    balances[to] += amt - burn;
    totalSupply -= burn;
  }
}

✓ Contract compiled successfully
✓ Security audit passed
✓ Deployed & listed on DEX
AI Builder

Build Smart Contracts with Natural Language

Our AI assistant understands what you want to build and generates production-ready UniScript smart contracts — complete with security auditing, testing, and one-click deployment.

Describe contracts in plain English
AI generates, tests & audits the code
One-click deploy to mainnet or testnet
Create tokens & list on DEX automatically
No coding experience required

AI Contract Generator

Describe your contract logic and let AI write optimized UniScript code — tokens, NFTs, DeFi protocols, and more.

AI Security Audit

Every AI-generated contract is automatically audited for vulnerabilities, reentrancy attacks, and gas optimization.

AI DEX Listing

Create a token and instantly list it on the Unipoly DEX with AI-optimized liquidity pools and pricing strategies.

Start Building Today

Deploy your first smart contract in minutes — with code or with AI. Zero gas fees, free testnet tokens, and a thriving developer community.