Astar Network Documentation

website·Indexed 37 days ago

https://docs.astar.network/

Developer and user guides for the Astar Network, featuring documentation on smart contract deployment using Solidity and WebAssembly (Wasm) with ink!, collator node setup, dApp staking, governance, and interoperability via XCM. Includes guides for Astar EVM, Soneium, and the ASTR native token.

Tokens
156.6K
Snippets
510
Records
1.1K
Agent score
69%

What's inside Astar

  1. Overview of the Astar Hacker Guide

    The Astar Hacker Guide is designed to jump-start development on the Astar network. It serves as a resource for general developer onboarding, preparing for Astar-centric hackathons, and onboarding new team members. The guide is structured into three main tracks:

    1. General: Covers essential basics including nodes, interactions, accounts, and environment setup.
    2. Wasm smart contracts: Focuses on building, deploying, testing, and interacting with WebAssembly-based contracts.
    3. EVM smart contracts: Focuses on building, deploying, testing, and interacting with Ethereum Virtual Machine-compatible contracts.
  2. Overview of OnFinality Unified NFT API

    OnFinality's Unified NFT API provides a single GraphQL interface to access NFTs and metadata across popular standards (including ERC721 and ERC1155) within the Polkadot and Kusama ecosystems, including Astar and Shiden networks. The API covers Collections, NFTs, Transactions, and Metadata.
  3. Overview of AstarBase for EVM dApps

    AstarBase is an on-chain EVM database that maintains a mapping between a user's EVM address (H160) and their Astar Native address (ss58). It allows EVM dApps to identify and reward users who are active participants in dApp Staking, even if their funds are locked in the staking mechanism. AstarBase contracts are available on Shibuya, Shiden, and Astar Networks.
  4. Overview of token transfers for Soneium

    Soneium supports cross-chain token transfers between itself and several other blockchain networks, including the Astar Network, Ethereum, compatible Layer-2 protocols, and the Superchain. Supported transfer paths include moving ASTR and other compatible assets from Astar to Soneium, bridging assets from Ethereum or other L2s to Soneium, and returning assets from Soneium back to their origin chains.
  5. Overview of Astar Onchain Governance via Subsquare

    Astar onchain governance allows ASTR token holders to propose and vote on network changes, including protocol improvements, runtime updates, and treasury funding. While Polkadot.js is available for advanced users, Subsquare is the primary user-friendly interface for the community to view proposals, participate in discussions, cast votes, and track the progress of proposals from submission to execution.
  6. Overview of Astar Network architecture

    Astar Network is a blockchain built as a Polkadot parachain. It is designed to enable scalable and interoperable decentralized applications (dApps) by providing dual support for both Ethereum Virtual Machine (EVM) and WebAssembly (Wasm) smart contracts.
  7. Overview of Astar and Shiden Wasm Runtime

    Astar and Shiden runtimes are built on Substrate and use pallet-contracts to provide a sandboxed environment for deploying and executing WebAssembly (Wasm) smart contracts. Any language that compiles to Wasm can be deployed, provided the code is compatible with the pallet-contracts API. To simplify development and reduce boilerplate, it is recommended to use embedded Domain Specific Languages (eDSLs) such as ink! (Rust-based) or ask! (AssemblyScript-based).
  8. Overview of Astar/Shiden EVM smart contract deployment tutorial

    This tutorial provides a comprehensive guide for developers to develop and deploy smart contracts on the Astar and Shiden EVM networks. It is designed for beginners and takes approximately 30 minutes to complete.

    Prerequisites for this tutorial include:

    • Basic knowledge of Solidity and Polkadot
    • Familiarity with software development tools and CLIs
    • Basic knowledge of MetaMask
    • Access to Discord, Remix, and the Polkadot.js Apps portal.
  9. Overview of dApp Staking incentives

    dApp Staking allows users to support ecosystem projects by staking tokens on them. When a dApp accumulates sufficient support, it receives rewards in native currency (sourced from inflation). These rewards are then distributed to the stakers, incentivizing users to commit their tokens to support dApp growth.
  10. Overview of Swanky Suite for Wasm Smart Contract Development

    Swanky Suite is an all-in-one toolset for Web3 Wasm dapp developers, extending the functionality of cargo contract CLI and polkadot.js. It is designed to streamline the development lifecycle for smart contracts deployed to networks supporting pallet-contracts within the Polkadot ecosystem. Key capabilities include:

    • Local development node with instant finality (Swanky Node).
    • Project scaffolding via smart contract templates.
    • Compilation of ink! projects and TypeScript type generation.
    • TypeScript-based integration testing for client-side simulation.
    • Network account management.
    • Deployment and interaction (arbitrary calls) with deployed smart contracts.
    • Prebuilt Docker images and dev-container configurations for a ready-to-use environment.
  11. Overview of Astar EVM and Hardhat compatibility

    Astar Network is a multi-VM smart contract hub that supports both WASM and EVM smart contracts. Because it is EVM-compatible, developers can use standard Ethereum development tools—such as Hardhat, Remix, and MetaMask—to interact with Astar EVM's API and deploy Solidity smart contracts.
  12. Overview of Zombienet for Substrate Testing

    Zombienet is a testing framework for Substrate-based blockchains. It provides a CLI tool to spawn Substrate-based chains (including Astar) and the Polkadot relaychain. It is particularly useful for XCM (Cross-Consensus Message Format) testing because it allows local sudo access for tasks like XC-20 asset registration and HRMP channel opening, which are often restricted on public testnets like Rococo.