Latest contract version: https://github.com/metagov/daostar/blob/main/contracts/src/Registration.sol
Create new command in package.json like here for mainnet https://github.com/metagov/daostar/blob/aa74717bc3e83ce4445c7e42a30e72b93873d220/contracts/package.json#L10
pnpm run deploy:[network]
Latest subgraph code: https://github.com/metagov/daostar/tree/updatesubgraph/Implementations/Subgraph/daostar
Add network to network.json https://github.com/metagov/daostar/blob/updatesubgraph/Implementations/Subgraph/daostar/networks.json
address should be the index contract not the registration summoner
Update start block to deployment block for contract
{
"mainnet": {
"EIP4824Index": {
"address": "0x4f2c9028fe7107d9f1a8a9cff34aa2d3f28600fa",
"startBlock": 17874753
}
},
"goerli": {
"EIP4824Index": {
"address": "0xd8f49391ba81942d40c26a50f8ca63cdca6fb3da",
"startBlock": 8901481
}
},
"gnosis": {
"EIP4824Index": {
"address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298",
"startBlock": 27702194
}
}
}
Network | HTTP endpoint |
---|---|
Mainnet | https://api.thegraph.com/subgraphs/name/ipatka/daostar |
Goerli | https://api.thegraph.com/subgraphs/name/ipatka/daostar-goerli |
Gnosis | https://api.thegraph.com/subgraphs/name/mrutsavg/daostar-gnosis |