6
votes
Can't connect to pokadot-js UI from my VPS blockchain
Turning a non-secure endpoint into a secure endpoint cannot be done simply by adding wss:// in-front. The wss:// assumes that there is a secure connection with a certificate. In this case if you check ...
5
votes
How can I create OCW that won't activates every block, but will activates only when I call function that it represents?
There are 3 levels of answer to this question. As OCW being a commonly misunderstood topic, it is a very good question.
Simple Answer
First, a crude and objectively inefficient answer. You can use the ...
2
votes
Accepted
Only one node should make http call from OCW
"And have a question is it possible to configure OCW so that if one node starts an HTTP call in OCW other nodes will skip it", you can add a judgement to make sure only the author of the ...
2
votes
Can we enable off-chain workers http client to support web-sockets request?
Phala Network has a design for Fat Contracts called the SideVM (requires deploying local testnet to use for now). You can check out some examples here Fat Contract Examples. We also enable HTTPS ...
2
votes
Can't connect to pokadot-js UI from my VPS blockchain
You can run up polkadot-js locally if that's easier for you?
git clone https://github.com/polkadot-js/apps
yarn
yarn run start
1
vote
Accepted
Run Substrate-node-template with wss and secure rpc
You have to proxy it behind a proxy-ing webserver (for example nginx) since the node itself cannot provide a valid certificate. More info can be found on the polkadot wiki. For nginx you can add the ...
1
vote
How to setup bootnode to use DNS address instead of IP4?
The issue here might be that you are just missing /wss
So it should be --bootnodes "/dns/{CUSTOM_DOMAIN}/tcp/443/wss/p2p/{PEER_ID}"
Let us know if this solved your problem!
1
vote
How to setup bootnode to use DNS address instead of IP4?
You need to modify your chain specification, best place being in the source itself, secondarily in the plain chain spec generated from that source, you can modify it and then convert it to raw. This ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
https × 9rpc × 3
offchain-worker × 3
offchain × 3
wss × 2
substrate-node × 1
consensus × 1
substrate-node-template × 1
transactions × 1
nodes × 1
network × 1
networking × 1
unit-tests × 1
websocket × 1
proof-of-work × 1