Skip to content
Snippets Groups Projects
Commit a47fc304 authored by Bernardo Cardoso's avatar Bernardo Cardoso
Browse files

Change default WS port to 63007

parent 5b8a764e
No related branches found
No related tags found
No related merge requests found
WS_CHAIN=ws://localhost:9944
\ No newline at end of file
WS_CHAIN=ws://localhost:63007
\ No newline at end of file
......@@ -5,7 +5,7 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "node index.js"
"start": "WS_CHAIN='ws://localhost:63007' node index.js"
},
"devDependencies": {
"eslint": "^8.12.0",
......
......@@ -7,7 +7,7 @@
"author": "xx labs",
"license": "MIT",
"scripts": {
"start": "node index.js"
"start": "WS_CHAIN='ws://localhost:63007' node index.js"
},
"dependencies": {
"@ledgerhq/hw-transport-node-hid": "^6.24.1",
......
......@@ -15,7 +15,7 @@ generate:
run:
@rm -rf db chain.log
$(BINPATH) --alice --chain ./generate/genesis.json --base-path ./db --rpc-cors all > ./chain.log 2>&1 &
$(BINPATH) --alice --chain ./generate/genesis.json --base-path ./db --ws-port 63007 --rpc-cors all > ./chain.log 2>&1 &
create-backup:
@cd ./backup; yarn start
......
WS_CHAIN=ws://localhost:9944
\ No newline at end of file
WS_CHAIN=ws://localhost:63007
\ No newline at end of file
......@@ -4,7 +4,7 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "node index.js"
"start": "WS_CHAIN='ws://localhost:63007' node index.js"
},
"devDependencies": {
"eslint": "^8.12.0",
......
......@@ -7,7 +7,7 @@
"author": "xx labs",
"license": "MIT",
"scripts": {
"start": "node index.js"
"start": "WS_CHAIN='ws://localhost:63007' node index.js"
},
"dependencies": {
"@polkadot/api": "^7.15.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment