Skip to content

Commit d7c4f66

Browse files
authored
Feat/somnia (#68)
* working on Somnia * Add Somnia support
1 parent 0fbef13 commit d7c4f66

File tree

32 files changed

+132036
-33998
lines changed

32 files changed

+132036
-33998
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,20 @@ Python SDK is under development.
120120

121121
## Deployments
122122

123+
### v3.2 - Somnia Testnet
124+
125+
```txt
126+
ENSEMBLE_CREDITS_ADDRESS=0xfEE4F3a034B242f2DdadC2f3090787FFaaa0a7b6
127+
128+
# Proxy Addresses (Use these for interactions)
129+
AGENTS_REGISTRY_ADDRESS=0xF8509bE0589Ba90BE8c9cd011EC05FcD0127673F
130+
TASK_REGISTRY_ADDRESS=0xfd35138F35e1F39766E6a4a9F01eB326EFEF6B58
131+
132+
# Implementation Addresses (For verification and upgrades)
133+
AGENTS_REGISTRY_IMPLEMENTATION_ADDRESS=0x346Fb1e8B84427510b8F916e2863D0f9e9cae7Df
134+
TASK_REGISTRY_IMPLEMENTATION_ADDRESS=0x57f335f38E9900E15f4Fb3d97F745DC7eDC13ffa
135+
```
136+
123137
### v3.2 - Base Sepolia
124138

125139
```txt

packages/contracts/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,20 @@ Before mainnet deployment:
237237
238238
Contracts are deployed to the following networks.
239239
240+
### v3.2 - Somnia Testnet
241+
242+
```txt
243+
ENSEMBLE_CREDITS_ADDRESS=0xfEE4F3a034B242f2DdadC2f3090787FFaaa0a7b6
244+
245+
# Proxy Addresses (Use these for interactions)
246+
AGENTS_REGISTRY_ADDRESS=0xF8509bE0589Ba90BE8c9cd011EC05FcD0127673F
247+
TASK_REGISTRY_ADDRESS=0xfd35138F35e1F39766E6a4a9F01eB326EFEF6B58
248+
249+
# Implementation Addresses (For verification and upgrades)
250+
AGENTS_REGISTRY_IMPLEMENTATION_ADDRESS=0x346Fb1e8B84427510b8F916e2863D0f9e9cae7Df
251+
TASK_REGISTRY_IMPLEMENTATION_ADDRESS=0x57f335f38E9900E15f4Fb3d97F745DC7eDC13ffa
252+
```
253+
240254
### v3.2 - Base Sepolia
241255
242256
```txt

packages/contracts/hardhat.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ const config: HardhatUserConfig = {
5959
allowUnlimitedContractSize: false,
6060
gas: "auto",
6161
gasPrice: "auto",
62+
},
63+
somniaTestnet: {
64+
url: "https://dream-rpc.somnia.network",
65+
accounts: process.env.PRIVATE_KEY ? [process.env.PRIVATE_KEY] : [],
66+
chainId: 50312,
67+
gasMultiplier: 1.2
68+
// allowUnlimitedContractSize: false,
69+
// gas: "auto",
70+
// gasPrice: "auto",
6271
}
6372
},
6473
paths: {
@@ -91,6 +100,14 @@ const config: HardhatUserConfig = {
91100
apiURL: "https://api-sepolia.basescan.org/api",
92101
browserURL: "https://sepolia.basescan.org"
93102
}
103+
},
104+
{
105+
network: "somniaTestnet",
106+
chainId: 50312,
107+
urls: {
108+
apiURL: "https://dream-rpc.somnia.network",
109+
browserURL: "https://shannon-explorer.somnia.network/"
110+
}
94111
}
95112
]
96113
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/fab9518c2cef19300334ce4b9b347f6b.json"
4+
}

0 commit comments

Comments
 (0)