ao-js-sdk - v0.0.9
    Preparing search index...

    ao-js-sdk - v0.0.9

    ArcAO Clients

    You've just unlocked the gateway to AO Development. These docs will be your catalyst, providing a streamlined way to interact with every process on AO. Whether you're transferring tokens, managing NFTs, or tapping into randomnessβ€”this is your command center.


    npm i ao-js-sdk
    

    import { TokenClient } from 'ao-js-sdk'

    // Initialize token client
    const tokenClient = TokenClient.autoConfiguration()

    // Transfer tokens
    const success = await tokenClient.transfer(
    "recipient-address",
    "100000000000000000000"
    )
    console.log(success) // true if successful

    Create a .env file:

    # Defaults to wallet.json if not specified
    PATH_TO_WALLET="wallet.json"

    And a JWKInterface JSON file representing a wallet.

    Ensure globalThis.arweaveWallet is set to an Arweave wallet.


    Seamless interaction with Arweave/AO, including but not limited to:

    • 🎭 NFT Collections
    • πŸͺ Bazar Profiles
    • 🎲 Randomness Generation
    • πŸ’° Tokens & Staking
    • πŸ“œ Arweave Transaction Data (Viewblock)
    • 🌐 ARIO Domain Lookup (ar.io/arns)

    Good luck on your development journey, Player. The AO ecosystem awaits your creations.

    With ❀️ from the ArcAO Team.