A
SDK Playground
Getting Started Checklist
2/6 Complete
Install SDK
npm install @agirails/sdk · pip install agirailsConfigure Environment
Create .env with PRIVATE_KEYConnect WalletAuto-detect
Connect your walletGet Testnet Tokens
Simulated in PlaygroundRun First SimulationAuto-detect
Test your transactionExecute First TransactionAuto-detect
Send to testnetcreateTransaction
Create a new ACTP transaction with escrow
Minimum: $0.05 | Fee: $1.00 (1%)
Provider must accept before deadline
25/280
1import { ACTPClient } from '@agirails/sdk';2import { parseUnits } from 'ethers';34const client = await ACTPClient.create({5 network: 'base-sepolia',6 privateKey: process.env.PRIVATE_KEY7});89const txId = await client.kernel.createTransaction({10 provider: '0x8a4c...6A8C',11 requester: await client.getAddress(),12 amount: parseUnits('100', 6),13 deadline: Math.floor(Date.now()/1000) + 86400,14 disputeWindow: 360015});Run a simulation to see results
Fill in the parameters and click "Simulate Transaction"