Documentation

eShares Developer Documentation

Everything you need to understand, integrate, and build on the eShares tokenization platform.

Getting Started

eShares is a tokenized equity management platform that converts ownership rights into programmable ERC-20 tokens. The platform handles everything from domain registration and equity configuration to token minting, vesting enforcement, and governance.

Prerequisites

  • Node.js 18+ and npm/yarn
  • Web3 wallet (MetaMask, Coinbase Wallet, or Trust Wallet)
  • Base or BNB Chain RPC endpoint (for mainnet deployments)
  • eShares API key (obtain from dashboard)

# Install the SDK

npm install @eshares/sdk

# Initialize

npx eshares init --domain yourdomain.com

# Deploy contracts

npx eshares deploy --network polygon

# Mint tokens

npx eshares mint --supply 1000000 --symbol ESH

User Types

The eShares platform supports five distinct user roles with varying access levels.

RoleAccess LevelPermissions
Super AdminHighestFull platform control, contract deployment, system configuration
Domain OwnerHighManage domain equity, configure tiers, approve contributors
ContributorStandardSubmit contributions, earn tokens, participate in governance
InvestorStandardView portfolio, trade tokens, vote on proposals
ViewerLimitedRead-only access to public equity data and governance records

Equity Pies (Default Distribution)

Every domain starts with a default equity distribution that can be customized.

40%

Founders

Core team members with vesting schedules

25%

Contributors

Employees, contractors, and active contributors

20%

Investors

Angel, seed, and institutional investors

10%

Advisors

Strategic advisors with milestone-based vesting

5%

Reserve

Treasury reserve for future allocations

Contribution Flow

How contributions are submitted, validated, and rewarded with ESH tokens.

1

Contributor submits work (code, content, design, etc.) via the eShares dashboard or API.

2

Domain owner or AgentDAO reviews and validates the contribution.

3

Approved contributions are scored based on type, impact, and tier.

4

ESH tokens are allocated from the contributor pool based on the score.

5

Tokens are distributed to the contributor's wallet, subject to any vesting schedule.

Smart Contracts

Five core contracts power the eShares tokenization engine.

DATA Contract

Stores asset metadata, valuations, contributor records, and equity configurations.

DAN Contract

Registers domain identities and links real-world assets to on-chain records.

ESH Token (ERC-20)

The equity token — minted, distributed, and traded as the unit of ownership.

Vesting Contract

Manages time-based and milestone-based token release schedules.

Bridge Contract

Enables cross-chain token transfers between Base and BNB Chain.

ESH Token Logic

Token Specification

Standard

ERC-20

Symbol

ESH

Decimals

18

Default Supply

1,000,000 ESH per domain

Mintable

Yes (by domain owner)

Burnable

Yes (with governance approval)

Each domain mints its own ESH token supply. Tokens represent proportional equity in the domain or entity. Transfer restrictions, vesting locks, and compliance checks are enforced at the contract level — meaning tokens cannot be transferred to non-compliant addresses or before vesting conditions are met.

Compliance & Governance

Compliance

  • KYC/AML verification on all token holders
  • Accredited investor checks for regulated offerings
  • Jurisdiction-specific transfer restrictions
  • Automated reporting and audit trails

Governance

  • Token-weighted voting on proposals
  • Configurable quorum and approval thresholds
  • On-chain proposal submission and execution
  • Delegation and proxy voting support

API Endpoints

RESTful API for integrating eShares into your applications.

MethodEndpointDescription
GET/api/v1/domainsList all registered domains
GET/api/v1/domains/:id/equityGet equity structure for a domain
POST/api/v1/contributionsSubmit a new contribution
GET/api/v1/tokens/:address/balanceGet token balance for an address
POST/api/v1/governance/proposalsCreate a governance proposal
GET/api/v1/governance/proposals/:idGet proposal details and vote status
POST/api/v1/vesting/schedulesCreate a vesting schedule
GET/api/v1/audit/logsRetrieve audit log entries

Example Use Cases

Startup Cap Table

A 3-person startup tokenizes their cap table on day one, distributing ESH tokens to founders with 4-year vesting and 1-year cliff.

Domain Portfolio

A domain investor tokenizes a portfolio of 50 premium domains, enabling fractional ownership and secondary trading for each asset.

DAO Governance

A 200-member DAO uses eShares governance contracts to manage proposals, voting, and treasury allocations with on-chain enforcement.

Enterprise ESOP

A 500-person company manages employee stock option plans across 3 jurisdictions with automated compliance and real-time dashboards.

Audit, Logs & Security

Every action on the eShares platform generates an immutable audit log entry. From token transfers and vesting releases to governance votes and compliance checks — everything is recorded on-chain and accessible via the API.

256-bit

AES Encryption

Multi-sig

Contract Admin

SOC 2

Compliance Ready

Ready to integrate?

Start building on eShares today with our SDK, APIs, and open-source smart contracts.