Web3 Developer Documentation

Official guides, API references, and technical resources for building decentralized web3 applications on the Elona platform.

View API

Getting Started

Setup your development environment with our guided tutorial covering SDK installation, wallet integration, and contract deployment.

Begin Tutorial

API Reference

Comprehensive documentation for all Elona's SDK methods, contract functions, and RESTful API endpoints.

View API

Best Practices

Industry-standard security guidelines, gas optimization techniques, and UX patterns for enterprise-grade web3 development.

Read Guide

Core SDK Functions

JavaScript · Wallet Integration

{`/**
 * Connect to ElonaWeb3
 * @requires @elona/sdk/wallet
 */
async function connect() {
  try {
    const provider = new ElonaProvider();
    const wallet = await provider.connect('metamask');
    console.log('Address:', await wallet.getAddress());
    return wallet;
  } catch (error) {
    console.error('Connection failed:', error);
  }
}`}

Solidity · Contract Interface

{`pragma solidity ^0.8.20;

interface IElonaNFT {
    /**
    * @notice Mint a new NFT
    * @param contentURI IPFS content URI
    */
    function mintNFT(string memory contentURI) external returns (uint256);
    
    event NFTMinted(address indexed minter, uint256 tokenId);
}`}

Enterprise-Grade Tooling

Our documentation includes guides for enterprise deployments, private network configuration, and compliance tools for organizations.

View Enterprise Docs