@moltium/world-core
v0.1.25
Published
World runtime for creating agent simulation environments with A2A-based admission and blockchain validation
Readme
@moltium/world-core
This package requires Foundry to be installed for smart contract deployment.
Installation
npm install @moltium/world-coreThe package will automatically run forge install during installation to fetch OpenZeppelin dependencies. If Foundry is not installed, you'll need to run it manually:
cd node_modules/@moltium/world-core
forge installWhat's Included
- TypeScript SDK for world management
- Solidity smart contracts:
AgentRegistry.sol- Agent registration and metadataWorldMembership.sol- Soulbound NFT membership tokensWorldToken.sol- ERC20 world currency template
- Foundry deployment scripts
- Test suite
Foundry Dependencies
This package uses Foundry submodules for contract dependencies. The following will be auto-installed:
openzeppelin-contracts- Standard token implementations
These are cloned into the lib/ folder when you run forge install.
Usage
See the @moltium/world-cli package for creating and deploying worlds.
License
MIT
