diff --git a/installer/data/template/.origintrail_noderc_one_click_mainnet.json b/installer/data/template/.origintrail_noderc_one_click_mainnet.json new file mode 100644 index 0000000000..1745c32afc --- /dev/null +++ b/installer/data/template/.origintrail_noderc_one_click_mainnet.json @@ -0,0 +1,113 @@ +{ + "modules":{ + "network": { + "implementation": { + "libp2p-service": { + "config": { + "nat": { + "enabled": true, + "externalIp": "" + } + } + } + } + }, + "blockchain":{ + "implementation":{ + "otp:2043":{ + "enabled":true, + "config":{ + "sharesTokenName":"", + "sharesTokenSymbol":"", + "operatorFee":"", + "evmManagementWalletPublicKey":"", + "operationalWallets":[ + { + "evmAddress":"", + "privateKey":"" + } + ] + } + }, + "gnosis:100":{ + "enabled":true, + "config":{ + "sharesTokenName":"", + "sharesTokenSymbol":"", + "operatorFee":"", + "rpcEndpoints":[ + "" + ], + "evmManagementWalletPublicKey":"", + "operationalWallets":[ + { + "evmAddress":"", + "privateKey":"" + } + ] + } + }, + "base:8453":{ + "enabled":true, + "config":{ + "evmManagementWalletPublicKey":"", + "operationalWallets":[ + { + "evmAddress":"", + "privateKey":"" + } + ], + "sharesTokenName":"", + "sharesTokenSymbol":"", + "operatorFee":"", + "rpcEndpoints":[ + "" + ] + } + } + } + }, + "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" + ] + } +} diff --git a/installer/data/template/.origintrail_noderc_one_click_testnet.json b/installer/data/template/.origintrail_noderc_one_click_testnet.json new file mode 100644 index 0000000000..d1abfdc4d7 --- /dev/null +++ b/installer/data/template/.origintrail_noderc_one_click_testnet.json @@ -0,0 +1,113 @@ +{ + "modules":{ + "network": { + "implementation": { + "libp2p-service": { + "config": { + "nat": { + "enabled": true, + "externalIp": "" + } + } + } + } + }, + "blockchain":{ + "implementation":{ + "otp:20430":{ + "enabled":true, + "config":{ + "sharesTokenName":"", + "sharesTokenSymbol":"", + "operatorFee":"", + "evmManagementWalletPublicKey":"", + "operationalWallets":[ + { + "evmAddress":"", + "privateKey":"" + } + ] + } + }, + "gnosis:10200":{ + "enabled":true, + "config":{ + "sharesTokenName":"", + "sharesTokenSymbol":"", + "operatorFee":"", + "rpcEndpoints":[ + "" + ], + "evmManagementWalletPublicKey":"", + "operationalWallets":[ + { + "evmAddress":"", + "privateKey":"" + } + ] + } + }, + "base:84532":{ + "enabled":true, + "config":{ + "evmManagementWalletPublicKey":"", + "operationalWallets":[ + { + "evmAddress":"", + "privateKey":"" + } + ], + "sharesTokenName":"", + "sharesTokenSymbol":"", + "operatorFee":"", + "rpcEndpoints":[ + "" + ] + } + } + } + }, + "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" + ] + } +} diff --git a/package-lock.json b/package-lock.json index fc748c428d..37c29ff7c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,20 @@ { "name": "origintrail_node", +<<<<<<< HEAD "version": "8.0.0", +======= + "version": "6.5.1+hotfix.3", +>>>>>>> v6/prerelease/mainnet "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "origintrail_node", +<<<<<<< HEAD "version": "8.0.0", +======= + "version": "6.5.1+hotfix.3", +>>>>>>> v6/prerelease/mainnet "license": "ISC", "dependencies": { "@comunica/query-sparql": "^2.4.3", diff --git a/src/migration/migration-executor.js b/src/migration/migration-executor.js index 8c0321c77a..99fd031e8d 100644 --- a/src/migration/migration-executor.js +++ b/src/migration/migration-executor.js @@ -28,10 +28,6 @@ class MigrationExecutor { } } - static exitNode(code = 0) { - process.exit(code); - } - static async migrationAlreadyExecuted(migrationName, fileService) { const migrationFilePath = path.join(fileService.getMigrationFolderPath(), migrationName); if (await fileService.pathExists(migrationFilePath)) {