Skip to content

Commit 3a35c2e

Browse files
committed
chore: update smart contracts and frontend documentation
1 parent af8d86c commit 3a35c2e

33 files changed

Lines changed: 180 additions & 157 deletions

.agent_storage/bafybeis1m05553b86650d8bc0abfcf1ff30bd0818.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.agent_storage/bafybeis1m31f32b925a0276af55813ed9e5d8a711.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.agent_storage/bafybeis1m55baddd0e75f5c02ee22a8a95a391c5d.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.agent_storage/bafybeis1m5f37e162a2c927a21cd387dfd2a1158e.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.agent_storage/bafybeis1ma3a69a8f555357a8c7c0193e1b0c7d58.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.agent_storage/bafybeis1mb638a530be57c1decb6b987feeef71e0.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.agent_storage/bafybeis1mf9c3b31d1e6f137f3139438b33d5112b.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

HOW_TO_INTEGRATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const cid = await agent.storePublicMemory({
3838
});
3939

4040
console.log(`Memory safe on IPFS: https://storacha.link/ipfs/${cid}`);
41+
```
4142

4243
### Option C: The "Private" Way (ECIES Vault)
4344
For highly sensitive data, use the ECIES-encrypted vault. Only the owner agent can decrypt this.
@@ -52,7 +53,6 @@ const secretCid = await agent.storePrivateMemory({
5253
// To retrieve and decrypt:
5354
const secretData = await agent.retrievePrivateMemory(secretCid);
5455
```
55-
```
5656

5757
## Step 3: Enable "Swarm Collaboration" (Delegation)
5858
To make your agent work with other agents, issue a **UCAN delegation**. This lets Agent B read Agent A's memory without sharing private keys.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_format": "hh-sol-dbg-1",
3-
"buildInfo": "..\\..\\build-info\\2dc0b4d6b55eb3dccb206daedca229c5.json"
3+
"buildInfo": "..\\..\\build-info\\2fe688d12182c85510b0b74ae7b56b9b.json"
44
}

artifacts/contracts/EncryptedAgentMemory.sol/EncryptedAgentMemory.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)