DEVELOPER DOCS

Build on NEXUS with our comprehensive API and smart contract documentation.

OVERVIEW

NEXUS Market provides a complete infrastructure for NFT creation, trading, and management. Our protocol is built on battle-tested smart contracts with full EVM compatibility.

Quick Facts

  • Network: Multi-chain (12+ networks)
  • Standards: ERC-721, ERC-1155, ERC-404
  • Protocol Fee: 0.5%
  • Royalty Range: 0-15%

SMART CONTRACTS

Our protocol consists of three main contract categories. All contracts are audited by CertiK and open source.

Core Contracts

// NEXUS Marketplace Contract Address (Mainnet) address nexusMarket = "0x742d35Cc6634C0532925a3b8D4C9f6C9b9e2F1a"; // NEXUS Token Contract address nexusToken = "0x8472B2bA5c2f2b1C3d3F3E3D3C3B2A2F1E1D1C1";

Contract ABIs

// Primary Marketplace Interface interface INexusMarket { function createOrder(address token, uint256 tokenId, uint256 price) external; function executeOrder(uint256 orderId) payable external; function cancelOrder(uint256 orderId) external; function getOrder(uint256 orderId) view returns (Order memory); }

REST API

Base URL: https://api.nexus.market/v1

Endpoints

GET /nfts/{collection}/{tokenId}
Retrieve NFT metadata and ownership info
POST /orders
Create a new listing order
GET /collections/{slug}/floor
Get collection floor price

Rate Limits

PlanRequests/min
Free60
Pro600
Enterprise6000

SDK & LIBRARIES

Official SDKs available for JavaScript, Python, and Rust.

# Install NEXUS SDK npm install @nexus/market-sdk # Initialize client import { NexusClient } from '@nexus/market-sdk'; const client = new NexusClient({ network: 'ethereum', wallet: '0x...' });

INTEGRATION GUIDES

Creating Your First NFT

// 1. Connect wallet await client.auth.connect(); // 2. Upload metadata to IPFS const metadata = { name: "Cyber Punk #001", description: "A unique digital collectible", image: "ipfs://Qm..." }; const uri = await client.storage.upload(metadata); // 3. Mint the NFT const tx = await client.nft.mint({ contract: "0x...", to: client.address, uri: uri });