← ClaudeAtlas

alkahest-developerlisted

Help developers write code that interacts with Alkahest escrow contracts using the TypeScript, Rust, or Python SDK
internet-court/internet-court-skill · ★ 5,854 · Code & Development · score 78
Install: claude install-skill internet-court/internet-court-skill
# Alkahest Developer Skill ## When to Use Use this skill when a developer wants to write code that interacts with Alkahest escrow contracts. This covers: - Integrating Alkahest into an application - Writing bots/agents that create escrows, fulfill obligations, or arbitrate - Building custom arbiters or obligation contracts - Understanding SDK patterns and APIs ## SDK Overview | SDK | Language | Package | Foundation | |-----|----------|---------|------------| | TypeScript | TypeScript/JavaScript | `@alkahest/ts-sdk` | viem | | Rust | Rust | `alkahest-rs` | alloy | | Python | Python | `alkahest-py` | PyO3 wrapper around Rust SDK | ## Client Setup ### TypeScript ```typescript import { createWalletClient, http } from "viem"; import { privateKeyToAccount } from "viem/accounts"; import { baseSepolia } from "viem/chains"; import { makeClient } from "@alkahest/ts-sdk"; const walletClient = createWalletClient({ account: privateKeyToAccount("0xPRIVATE_KEY"), chain: baseSepolia, transport: http("https://rpc-url"), }); // Full client with all extensions const client = makeClient(walletClient); // Custom addresses (optional) const client = makeClient(walletClient, customAddresses); // Minimal client for custom extension patterns const minimal = makeMinimalClient(walletClient); const extended = minimal.extend((base) => ({ custom: makeErc20Client(base.viemClient, pickErc20Addresses(base.contractAddresses)), })); ``` ### Rust ```rust use alkahest_rs::AlkahestClient; //