opacus-plugin-eliza
v0.1.0
Published
Official Opacus plugin for ElizaOS agents. Connects Eliza agents to real Opacus DID, Kinetic Score, Escrow, Nitro Routing, ZK proofs, and 0G storage endpoints.
Maintainers
Readme
opacus-plugin-eliza
Official ElizaOS plugin for Opacus sovereign infrastructure.
This plugin connects Eliza agents to real Opacus production endpoints:
- DID / Agent identity context
- Kinetic Score reputation
- Escrow lock/release/refund flows
- Nitro intent execution
- ZK proof generation and verification
- 0G data bridge storage write
- Fee ledger and service health status
Install
npm install opacus-plugin-elizaEnvironment
OPACUS_API_BASE_URL=https://opacus.xyz
OPACUS_ENV=mainnet
[email protected]
OPACUS_API_KEY= # optional
OPACUS_WALLET_ADDRESS= # optional
OPACUS_CITADEL_ID= # optional
OPACUS_DID= # optional
OPACUS_DATA_BRIDGE_TOKEN= # optional
OPACUS_DEFAULT_TIMEOUT_MS=30000Usage (Eliza)
import opacusPlugin from 'opacus-plugin-eliza';
export const character = {
name: 'opacus-agent',
plugins: [opacusPlugin],
};Included Actions
CREATE_ESCROWRELEASE_ESCROWREFUND_ESCROWEXECUTE_NITROZK_PROVE_REPUTATIONCROSS_CHAIN_PAY
Included Providers
OPACUS_WALLETKINETIC_SCOREH3_LOCATION
Notes on Real Integrations
The service is wired to https://opacus.xyz/api/agent-kernel?path=... and uses:
X-Opacus-User-EmailX-Opacus-Wallet-AddressAuthorization: Bearer <key>(optional)
This package intentionally maps to existing production endpoints in this repository's agent kernel implementation.
Development
npm install
npm run build
npm run testPublish
npm publish --access public