@finchip.ai/foga 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -6
- package/deployments/sepolia.example.json +638 -0
- package/dist/cli-cell.js +17 -0
- package/dist/cli.js +50 -0
- package/dist/core/chains.js +82 -0
- package/dist/demo/anvil.js +11 -0
- package/dist/demo/quickstart.js +33 -14
- package/dist/mcp/server.js +14 -8
- package/dist/node/card.js +67 -0
- package/dist/node/join.js +343 -0
- package/docs/design-memo.md +2 -0
- package/docs/join.md +86 -0
- package/docs/mcp.md +15 -0
- package/docs/quickstart.md +3 -1
- package/package.json +3 -2
- package/server.json +2 -2
- package/worlds/arbitrum-sepolia.json +48 -0
- package/worlds/base-sepolia.json +48 -0
- package/worlds/optimism-sepolia.json +48 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "foga.world-config/1",
|
|
3
|
+
"name": "base-sepolia",
|
|
4
|
+
"network": "base-sepolia",
|
|
5
|
+
"chainId": 84532,
|
|
6
|
+
"rpc": "${BASE_SEPOLIA_RPC_URL}",
|
|
7
|
+
"mode": "deploy",
|
|
8
|
+
"deployer": {
|
|
9
|
+
"privateKeyEnv": "FOGA_DEPLOYER_PK",
|
|
10
|
+
"note": "The key that deploys the 47 contracts and administers the escrow it deploys; fund it first (a deployment is about 0.5-1.6 ETH of gas at the chain's price). No default on a public chain."
|
|
11
|
+
},
|
|
12
|
+
"identity8004": {
|
|
13
|
+
"mode": "stub",
|
|
14
|
+
"note": "Deploys the Identity8004Stub so the world is complete on its own. Where the official ERC-8004 registry is live on this chain, switch to {\"mode\": \"address\", \"address\": \"0x\u2026\"} before deploying, as worlds/sepolia.json does."
|
|
15
|
+
},
|
|
16
|
+
"params": {
|
|
17
|
+
"skillToken": {
|
|
18
|
+
"name": "FOGA Skill",
|
|
19
|
+
"symbol": "FSKL"
|
|
20
|
+
},
|
|
21
|
+
"taskToken": {
|
|
22
|
+
"name": "FOGA Task",
|
|
23
|
+
"symbol": "FTSK"
|
|
24
|
+
},
|
|
25
|
+
"aid": {
|
|
26
|
+
"defaultLivenessWindow": 7776000,
|
|
27
|
+
"maxLivenessWindow": 31536000
|
|
28
|
+
},
|
|
29
|
+
"kya": {
|
|
30
|
+
"issuerSetRoot": "0x1de029c3b70d5efa4af25f0d1ffb02831eb7c0d9f5a02f3c781d216e2c54b5e8",
|
|
31
|
+
"epochLength": 2592000,
|
|
32
|
+
"epochGrace": 1
|
|
33
|
+
},
|
|
34
|
+
"ard": {
|
|
35
|
+
"kindURIs": {
|
|
36
|
+
"skill": "kind:skill",
|
|
37
|
+
"task": "kind:task",
|
|
38
|
+
"agent": "kind:agent",
|
|
39
|
+
"registry": "kind:registry"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"notes": [
|
|
44
|
+
"A template: `foga world deploy --world worlds/base-sepolia.json --rpc <url> --out deployments/base-sepolia.json` deploys the full stack (mode deploy, every contract from the bundle) with FOGA_DEPLOYER_PK; the address book it writes is what `foga join --world deployments/base-sepolia.json` takes. One key is one address on every EVM chain, so the wallet that joined Sepolia joins here unchanged.",
|
|
45
|
+
"AID liveness windows (90 d / 365 d) and the KYA Groth16 adapter parameters (issuer set root of the upstream kya_public_v1 prover, 30 d epochs, 1 epoch grace) mirror the upstream Sepolia reference deployments so the upstream provers and resolvers work unchanged.",
|
|
46
|
+
"ARD kind URIs mirror the upstream evidence script (kind:<name>)."
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "foga.world-config/1",
|
|
3
|
+
"name": "optimism-sepolia",
|
|
4
|
+
"network": "optimism-sepolia",
|
|
5
|
+
"chainId": 11155420,
|
|
6
|
+
"rpc": "${OPTIMISM_SEPOLIA_RPC_URL}",
|
|
7
|
+
"mode": "deploy",
|
|
8
|
+
"deployer": {
|
|
9
|
+
"privateKeyEnv": "FOGA_DEPLOYER_PK",
|
|
10
|
+
"note": "The key that deploys the 47 contracts and administers the escrow it deploys; fund it first (a deployment is about 0.5-1.6 ETH of gas at the chain's price). No default on a public chain."
|
|
11
|
+
},
|
|
12
|
+
"identity8004": {
|
|
13
|
+
"mode": "stub",
|
|
14
|
+
"note": "Deploys the Identity8004Stub so the world is complete on its own. Where the official ERC-8004 registry is live on this chain, switch to {\"mode\": \"address\", \"address\": \"0x\u2026\"} before deploying, as worlds/sepolia.json does."
|
|
15
|
+
},
|
|
16
|
+
"params": {
|
|
17
|
+
"skillToken": {
|
|
18
|
+
"name": "FOGA Skill",
|
|
19
|
+
"symbol": "FSKL"
|
|
20
|
+
},
|
|
21
|
+
"taskToken": {
|
|
22
|
+
"name": "FOGA Task",
|
|
23
|
+
"symbol": "FTSK"
|
|
24
|
+
},
|
|
25
|
+
"aid": {
|
|
26
|
+
"defaultLivenessWindow": 7776000,
|
|
27
|
+
"maxLivenessWindow": 31536000
|
|
28
|
+
},
|
|
29
|
+
"kya": {
|
|
30
|
+
"issuerSetRoot": "0x1de029c3b70d5efa4af25f0d1ffb02831eb7c0d9f5a02f3c781d216e2c54b5e8",
|
|
31
|
+
"epochLength": 2592000,
|
|
32
|
+
"epochGrace": 1
|
|
33
|
+
},
|
|
34
|
+
"ard": {
|
|
35
|
+
"kindURIs": {
|
|
36
|
+
"skill": "kind:skill",
|
|
37
|
+
"task": "kind:task",
|
|
38
|
+
"agent": "kind:agent",
|
|
39
|
+
"registry": "kind:registry"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"notes": [
|
|
44
|
+
"A template: `foga world deploy --world worlds/optimism-sepolia.json --rpc <url> --out deployments/optimism-sepolia.json` deploys the full stack (mode deploy, every contract from the bundle) with FOGA_DEPLOYER_PK; the address book it writes is what `foga join --world deployments/optimism-sepolia.json` takes. One key is one address on every EVM chain, so the wallet that joined Sepolia joins here unchanged.",
|
|
45
|
+
"AID liveness windows (90 d / 365 d) and the KYA Groth16 adapter parameters (issuer set root of the upstream kya_public_v1 prover, 30 d epochs, 1 epoch grace) mirror the upstream Sepolia reference deployments so the upstream provers and resolvers work unchanged.",
|
|
46
|
+
"ARD kind URIs mirror the upstream evidence script (kind:<name>)."
|
|
47
|
+
]
|
|
48
|
+
}
|