A decentralized autonomous organization (DAO) platform built on the Stacks blockchain.
This platform provides the infrastructure for decentralized governance of the AIBTC ecosystem, enabling token holders to participate in decision-making processes, manage treasury assets, and coordinate community activities through on-chain mechanisms.
- Smart contract-based DAO governance
- On-chain messaging and proposal system
- Treasury management for multiple assets
- Reward distribution mechanisms
- Agent-based automation capabilities
- Multi-Contract Protocol (MCP) integration
- Cloudflare Workers-based API
- /contracts - Smart contracts organized by type (DAO core, extensions, actions, etc.)
- /durable-objects - Cloudflare Durable Objects for persistent state management
- /models - Contract model definitions and abstractions
- /src - Hosted API implementation and endpoints
- /tests - Test suite for contracts and API functionality
- /utilities - Reusable helper code and shared utilities for contract generation and management
- /@aibtc/types - TypeScript type definitions exported as an npm package
TypeScript type definitions for the API are available as a separate npm package:
npm install @aibtc/types
Usage example:
import { ApiResponse, ContractInfo } from '@aibtc/types';
async function fetchContract(name: string): Promise<ApiResponse<ContractInfo>> {
const response = await fetch(`https://api.aibtc.dev/api/contracts/${name}`);
return response.json();
}