Skip to main content

13 docs tagged with "development"

View all tags

Address Mapping

How Polymesh 32-byte accounts and 20-byte EVM addresses map onto each other, why the mapping is one-way in one direction, and why an account must call map_account before receiving funds at its EVM address.

EVM & Smart Contracts

Polymesh's EVM surface - the pallet-revive dual-VM contract engine, precompiles, EVM address mapping, runtime calls from a wallet, and the Ethereum JSON-RPC proxy

Fungible Asset Precompile (ERC-20)

Use any Polymesh fungible asset as an ERC-20 token from Solidity and Ethereum tooling, with parts of ERC-3643 and ERC-7943 - address derivation, the full method reference, events, revert reasons, and the limits to design around.

Local Development Environment

Run a complete Polymesh stack locally with Docker Compose, including the node, indexer, REST APIs, Vault, and optional Ethereum JSON-RPC and Blockscout explorer

Non-Fungible Asset Precompile (ERC-721)

Use any Polymesh NFT collection as an ERC-721 token from Solidity and Ethereum tooling - address derivation, the full method reference, token URIs, approvals, events, revert reasons, and the deviations to design around.

Polymesh Runtime Precompile

Call general-purpose Polymesh extrinsics from Solidity - create assets, register tickers, onboard identities and authorize external agents through a single fixed-address precompile.

Polymesh Tooling

Overview of available tools and resources for developing on Polymesh blockchain

Polymesh Types

TypeScript type definitions for direct interaction with the Polymesh blockchain

Precompiles

How Polymesh exposes native chain functionality to smart contracts through pallet-revive precompiles - the address scheme, shared call semantics, and the list of available precompiles.

REST API

Interact with the Polymesh blockchain via a standard RESTful API

Runtime Calls from an EVM Wallet

Submit native Polymesh extrinsics from an EVM key such as a MetaMask account, by sending a transaction to the reserved runtime-pallets address - no smart contract and no precompile involved.

SubQuery Indexer

Efficiently query Polymesh blockchain data using the SubQuery indexer and GraphQL API