ao-process-clients
v2.3.1
Published
A modular TypeScript API client library for AO Process interactions
Downloads
635
Maintainers
Readme
AO-Process-Clients: A Process Oriented AO Library
A modular TypeScript Process client library for AO Process interactions. This library simplifies interactions with various AO processes.
Install
npm i ao-process-clients
Getting Started
import { IRandomClient, RandomClient } from "ao-process-clients"
const client: IRandomClient = RandomClient.autoConfiguration()
client.getOpenRandomRequests("providerId")
Environment
Node
Create a .env
file:
PATH_TO_WALLET="wallet.json"
And a JWKInterface json file representing a wallet.
Browser
Ensure globalThis.arweaveWallet
is set to an arweave wallet.