decontext-protocol
v1.0.1
Published
Decontext Protocol ESM-compatible package
Readme
Decontext: The Decentralized Model Context Protocol
🚀 Open, modular, and fully decentralized context infrastructure for agent-native Web3.
🌐 What is Decontext?
Decontext enables trustless, verifiable, and composable Model Contexts on-chain — structured data that AI agents use to interpret Web3 systems.
It transforms centralized MCPs into a decentralized public good, unlocking a new generation of agent-native dApps.
🧠 Core Features
- ✅ DMCP (Decentralized Model Context Protocol)
- ✅ Verifiable context schemas on-chain
- ✅ Agent SDK (TypeScript)
- ✅ Secure MetaMask/LLM integrations
- ✅ Modular, forkable architecture
⚙️ Getting Started
1. Install dependencies
npm install2. Setup .env file
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/YOUR_INFURA_KEY
PRIVATE_KEY=your_wallet_private_key_without_0x
ETHERSCAN_API_KEY=your_etherscan_key3. Compile contracts
npx hardhat compile4. Deploy to Sepolia
npx hardhat run scripts/deploy.cjs --network sepolia5. Run tests
npx hardhat test📦 Project Structure
| Folder | Description |
|----------------|---------------------------------------------|
| contracts/ | DMCP Solidity contract |
| scripts/ | Deployment scripts |
| sdk/ | TypeScript SDK to interact with DMCP |
| examples/ | Agent-driven usage examples |
| test/ | Mocha + Chai unit tests |
| docs/ | Protocol documentation |
📜 License
MIT © 2025 Decontext Contributors
