AlgorandClient
The main entry point for interacting with Algorand networks.
npm install @algorandfoundation/algokit-utilspnpm add @algorandfoundation/algokit-utilsyarn add @algorandfoundation/algokit-utilsimport { AlgorandClient } from '@algorandfoundation/algokit-utils'
// Connect to LocalNetconst algorand = AlgorandClient.fromEnvironment()
// Create and fund a test accountconst account = algorand.account.random()await algorand.account.ensureFunded(account, algorand.account.localNetDispenser(), (10).algo())
// Send a paymentconst result = await algorand.send.payment({ sender: account.addr, receiver: 'RECEIVERADDRESS', amount: (1).algo(),})
console.log('Transaction ID:', result.txIds[0])AlgorandClient
The main entry point for interacting with Algorand networks.
Transaction Composer
Build and send atomic transaction groups with ease.
App Client
Deploy and interact with smart contracts.
Testing Utilities
Comprehensive testing support for LocalNet.