-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .origintrail_noderc template files for the one-click installer (one-click multichain support) #3109
Merged
djordjekovac
merged 4 commits into
v6/develop
from
improvement/one-click-installer-updates
Mar 28, 2024
Merged
Add .origintrail_noderc template files for the one-click installer (one-click multichain support) #3109
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
27e5d39
Add .origintrail_noderc template files for the one-click installer
Niks988 d1e9d22
Add .origintrail_noderc template files for the one-click installer
Niks988 1f94c42
Add .origintrail_noderc template files for the one-click installer
Niks988 af76110
resolve feeback
Niks988 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
94 changes: 94 additions & 0 deletions
94
installer/data/template/.origintrail_noderc_one_click_mainnet.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,94 @@ | ||
{ | ||
"modules":{ | ||
"autoUpdater":{ | ||
"enabled":true, | ||
"implementation":{ | ||
"ot-auto-updater":{ | ||
"package":"./auto-updater/implementation/ot-auto-updater.js", | ||
"config":{ | ||
"branch":"v6/release/mainnet" | ||
} | ||
} | ||
} | ||
}, | ||
"blockchain":{ | ||
"defaultImplementation":"otp:2043", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can remove default implementation |
||
"implementation":{ | ||
"otp:2043":{ | ||
"enabled":true, | ||
"config":{ | ||
"sharesTokenSymbol":"<shares_token_symbol>", | ||
"sharesTokenName":"<shares_token_name>", | ||
"evmManagementWalletPublicKey":"<emv_management_key_public_key>", | ||
"operationalWallets":[ | ||
{ | ||
"evmAddress":"<evm_operational_key_public_key>", | ||
"privateKey":"<evm_operational_key_private_key>" | ||
} | ||
] | ||
} | ||
}, | ||
"gnosis:100":{ | ||
"enabled":true, | ||
"config":{ | ||
"operatorFee": <node_operator_fee>, | ||
"sharesTokenSymbol":"<shares_token_symbol>", | ||
"sharesTokenName":"<shares_token_name>", | ||
"rpcEndpoints":[ | ||
"<gnosis_rpc_endpoint>" | ||
], | ||
"evmManagementWalletPublicKey":"<emv_management_key_public_key>", | ||
"operationalWallets":[ | ||
{ | ||
"evmAddress":"<evm_operational_key_public_key>", | ||
"privateKey":"<evm_operational_key_private_key>" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"tripleStore":{ | ||
"implementation":{ | ||
"ot-blazegraph":{ | ||
"enabled":true, | ||
"package":"./triple-store/implementation/ot-blazegraph/ot-blazegraph.js", | ||
"config":{ | ||
"repositories":{ | ||
"privateCurrent":{ | ||
"url":"http://localhost:9999", | ||
"name":"private-current", | ||
"username":"admin", | ||
"password":"" | ||
}, | ||
"privateHistory":{ | ||
"url":"http://localhost:9999", | ||
"name":"private-history", | ||
"username":"admin", | ||
"password":"" | ||
}, | ||
"publicCurrent":{ | ||
"url":"http://localhost:9999", | ||
"name":"public-current", | ||
"username":"admin", | ||
"password":"" | ||
}, | ||
"publicHistory":{ | ||
"url":"http://localhost:9999", | ||
"name":"public-history", | ||
"username":"admin", | ||
"password":"" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"auth":{ | ||
"ipWhitelist":[ | ||
"::1", | ||
"127.0.0.1" | ||
] | ||
} | ||
} |
117 changes: 78 additions & 39 deletions
117
installer/data/template/.origintrail_noderc_one_click_testnet.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 |
---|---|---|
@@ -1,55 +1,94 @@ | ||
{ | ||
"modules": { | ||
"blockchain": { | ||
"defaultImplementation": "otp", | ||
"implementation": { | ||
"otp": { | ||
"config": { | ||
"sharesTokenSymbol": "<SHARES_TOKEN_SYMBOL>", | ||
"sharesTokenName": "<SHARES_TOKEN_NAME>", | ||
"evmOperationalWalletPublicKey": "<EVM_OPERATIONAL_WALLET>", | ||
"evmOperationalWalletPrivateKey": "<EVM_OPERATIONAL_WALLET_PRIVATE_KEY>", | ||
"evmManagementWalletPrivateKey": "<EVM_MANAGEMENT_WALLET_PRIVATE_KEY>", | ||
"evmManagementWalletPublicKey": "<EVM_MANAGEMENT_WALLET>" | ||
"modules":{ | ||
"autoUpdater":{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comments as for mainnet configuration |
||
"enabled":true, | ||
"implementation":{ | ||
"ot-auto-updater":{ | ||
"package":"./auto-updater/implementation/ot-auto-updater.js", | ||
"config":{ | ||
"branch":"v6/release/mainnet" | ||
} | ||
} | ||
} | ||
}, | ||
"tripleStore": { | ||
"implementation": { | ||
"ot-blazegraph": { | ||
"enabled": true, | ||
"package": "./triple-store/implementation/ot-blazegraph/ot-blazegraph.js", | ||
"config": { | ||
"repositories": { | ||
"privateCurrent": { | ||
"url": "http://localhost:9999", | ||
"name": "private-current", | ||
"username": "admin", | ||
"password": "" | ||
"blockchain":{ | ||
"defaultImplementation":"otp:20430", | ||
"implementation":{ | ||
"otp:20430":{ | ||
"enabled":true, | ||
"config":{ | ||
"sharesTokenSymbol":"<shares_token_symbol>", | ||
"sharesTokenName":"<shares_token_name>", | ||
"evmManagementWalletPublicKey":"<emv_management_key_public_key>", | ||
"operationalWallets":[ | ||
{ | ||
"evmAddress":"<evm_operational_key_public_key>", | ||
"privateKey":"<evm_operational_key_private_key>" | ||
} | ||
] | ||
} | ||
}, | ||
"gnosis:10200":{ | ||
"enabled":true, | ||
"config":{ | ||
"operatorFee": <node_operator_fee>, | ||
"sharesTokenSymbol":"<shares_token_symbol>", | ||
"sharesTokenName":"<shares_token_name>", | ||
"rpcEndpoints":[ | ||
"<gnosis_rpc_endpoint>" | ||
], | ||
"evmManagementWalletPublicKey":"<emv_management_key_public_key>", | ||
"operationalWallets":[ | ||
{ | ||
"evmAddress":"<evm_operational_key_public_key>", | ||
"privateKey":"<evm_operational_key_private_key>" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"tripleStore":{ | ||
"implementation":{ | ||
"ot-blazegraph":{ | ||
"enabled":true, | ||
"package":"./triple-store/implementation/ot-blazegraph/ot-blazegraph.js", | ||
"config":{ | ||
"repositories":{ | ||
"privateCurrent":{ | ||
"url":"http://localhost:9999", | ||
"name":"private-current", | ||
"username":"admin", | ||
"password":"" | ||
}, | ||
"privateHistory": { | ||
"url": "http://localhost:9999", | ||
"name": "private-history", | ||
"username": "admin", | ||
"password": "" | ||
"privateHistory":{ | ||
"url":"http://localhost:9999", | ||
"name":"private-history", | ||
"username":"admin", | ||
"password":"" | ||
}, | ||
"publicCurrent": { | ||
"url": "http://localhost:9999", | ||
"name": "public-current", | ||
"username": "admin", | ||
"password": "" | ||
"publicCurrent":{ | ||
"url":"http://localhost:9999", | ||
"name":"public-current", | ||
"username":"admin", | ||
"password":"" | ||
}, | ||
"publicHistory": { | ||
"url": "http://localhost:9999", | ||
"name": "public-history", | ||
"username": "admin", | ||
"password": "" | ||
"publicHistory":{ | ||
"url":"http://localhost:9999", | ||
"name":"public-history", | ||
"username":"admin", | ||
"password":"" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"auth":{ | ||
"ipWhitelist":[ | ||
"::1", | ||
"127.0.0.1" | ||
] | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove autoUpdater from config