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:
Good luck on your development journey, Player. The AO ecosystem awaits your creations.
With β€οΈ from the ArcAO Team.