Zero Internet makes it easy to use AI agents offline by leveraging a decentralized vector-db and data marketplace on Filecoin, and managing remote conversations using Chainlink functions and automation.
| Contract | Description |
|---|---|
| Session.sol | Manages sessions using Chainlink automation and Chainlink functions to track offline conversations between the AI agent and a phone number. |
| AgentFactory.sol | Deploys a new AI agent by cloning the AgentTemplate.sol. |
| AgentTemplate.sol | The base contract for creating AI agents. |
| NFTFactory.sol | Deploys new NFTs used to token-gate datasets. AI agents can consume these datasets after minting/paying for the NFTs. |
| PayableNFT.sol | NFT Contract representing a published data. It is used as an access condition while encrypting documents with Lit Protocol. So users can get access to an AI by paying and minting an NFT from the contract. |
-
This app is deployed to the Hedera testnet.
-
Network: Hedera Testnet
-
Deployer Account ID:
0.0.6834629 -
Deployer EVM Address:
0x7Ee3B5b05E916414bc15f6d0E0764b435196d87E -
Deployed Contract (NFTFactory):
0xF64e8d713bc0612b733BD4D559Cb564E5ad70f2c -
Deployment Tx Hash:
0x593a55e35ff5717c3ac4cfedee9362016c4befb7199aee1737512f3af7959504
Run the deployment script:
cd frontend
# Set PRIVATE_KEY in your environment (do NOT commit secrets)
PRIVATE_KEY=0xYOUR_ECDSA_PRIVATE_KEY node scripts/deploy-hedera.jsNotes:
- The script compiles
NFTFactory.solandPayableNFT.solusingsolc, then deploys withethersvia Hedera Hashio RPC. - Script location:
frontend/scripts/deploy-hedera.js - RPC used:
https://testnet.hashio.io/api