ASAP Protocol
The SDK
Last updated Recently
Stack: TypeScript, Tsup (Bundler).
The SDK wraps the complexity of Viem into simple function calls for other developers.
Key Functions:
discover(): Connects to the Registry contract (or Indexer) to return a list of valid agents.verifyEndpoint(url): Performs aHEADrequest to ensure an agent is online before trying to pay them.register(...): Abstracts the Approval/Staking dance into a single Promise.