This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c296306
commit 62e1b76
Showing
6 changed files
with
228 additions
and
6 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
node_modules/ | ||
.secret | ||
build/ | ||
.vscode/ | ||
.vscode | ||
ReverseRegistrarData.json | ||
NameResolverData.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"ReverseRegistrar": { | ||
"rskMainnet": "0xd25c3f94a743b93ecffecbe691beea51c3c2d9d1", | ||
"rskTestnet": "0xc1cb803d5169e0a9894bf0f8dcdf83090999842a" | ||
}, | ||
"NameResolver": { | ||
"rskMainnet": "0x4b1a11bf6723e60b9d2e02aa3ece34e24bde77d9", | ||
"rskTestnet": "0x8587385ad60038bb181affdf687c4d1b80c4787e" | ||
} | ||
} |
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,27 @@ | ||
const fs = require('fs'); | ||
|
||
const addresses = require('./addresses'); | ||
|
||
const reverseRegistrarBuild = require('./build/contracts/ReverseRegistrar'); | ||
|
||
const reverseRegistrarData = { | ||
abi: reverseRegistrarBuild.abi, | ||
address: { | ||
rskMainnet: addresses.ReverseRegistrar.rskMainnet, | ||
rskTestnet: addresses.ReverseRegistrar.rskTestnet, | ||
}, | ||
}; | ||
|
||
fs.writeFileSync('./ReverseRegistrarData.json', JSON.stringify(reverseRegistrarData)); | ||
|
||
const nameResolverBuild = require('./build/contracts/NameResolver'); | ||
|
||
const nameResolverData = { | ||
abi: nameResolverBuild.abi, | ||
address: { | ||
rskMainnet: addresses.NameResolver.rskMainnet, | ||
rskTestnet: addresses.NameResolver.rskTestnet, | ||
}, | ||
}; | ||
|
||
fs.writeFileSync('./NameResolverData.json', JSON.stringify(nameResolverData)); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.