-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add deployments JSON and use an index for the module
- Loading branch information
Showing
7 changed files
with
2,454 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"tagFormat": "${version}", | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
["@semantic-release/changelog", { | ||
"changelogFile": "CHANGELOG.md" | ||
}], | ||
"@semantic-release/npm", | ||
["@semantic-release/git", { | ||
"assets": ["CHANGELOG.md", "docs", "package.json", "yarn.lock"], | ||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
}], | ||
"@semantic-release/github" | ||
], | ||
"branches": ["develop", "master"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
export type EthrDidRegistryDeployment = { | ||
chainId: number | ||
registry: string | ||
name?: string | ||
description?: string | ||
rpcUrl?: string | ||
[x: string]: any | ||
} | ||
|
||
export const deployments: EthrDidRegistryDeployment[] = [ | ||
{ chainId: 1, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', name: 'mainnet' }, | ||
{ chainId: 3, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', name: 'ropsten' }, | ||
{ chainId: 4, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', name: 'rinkeby' }, | ||
{ chainId: 5, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', name: 'goerli' }, | ||
{ chainId: 42, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', name: 'kovan' }, | ||
{ chainId: 30, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', name: 'rsk' }, | ||
{ chainId: 31, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', description: 'rsk:testnet' }, | ||
{ | ||
chainId: 246, | ||
registry: '0xE29672f34e92b56C9169f9D485fFc8b9A136BCE4', | ||
name: 'ewc', | ||
description: 'energy web chain', | ||
}, | ||
{ | ||
chainId: 73799, | ||
registry: '0xC15D5A57A8Eb0e1dCBE5D88B8f9a82017e5Cc4AF', | ||
name: 'volta', | ||
description: 'energy web testnet', | ||
}, | ||
{ chainId: 246785, registry: '0xdCa7EF03e98e0DC2B855bE647C39ABe984fcF21B', description: 'artis:tau1' }, | ||
{ chainId: 246529, registry: '0xdCa7EF03e98e0DC2B855bE647C39ABe984fcF21B', description: 'artis:sigma1' }, | ||
{ chainId: 137, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', name: 'polygon' }, | ||
{ chainId: 80001, registry: '0xdca7ef03e98e0dc2b855be647c39abe984fcf21b', description: 'polygon:test' }, | ||
{ chainId: 1313161554, registry: '0x63eD58B671EeD12Bc1652845ba5b2CDfBff198e0', name: 'aurora' }, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// default deployments | ||
export { deployments, EthrDidRegistryDeployment } from './deployments' | ||
|
||
// contract ABI | ||
export { default as EthereumDIDRegistry } from './artifacts/contracts/EthereumDIDRegistry.sol/EthereumDIDRegistry.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.