सामग्री तालिका
  • पृष्ठ संपादित करें
  • Solana Testing Basics

    Info

    This is a beta version of the Solana Toolkit, and is still a WIP. Please post all feedback as a GitHub issue here.

    Installation #

    Install the Solana Toolkit by running the following command:

    npx -y mucho@latest install

    Build #

    mucho build

    Start Localnet #

    mucho validator

    Run Tests #

    Anchor Programs:

    anchor test

    Native Programs:

    cargo test

    Deploy #

    mucho deploy

    For more information on local validator customization and commands, read the Solana Test Validator Guide.