Questions tagged [substrate-connect]
The substrate-connect tag has no usage guidance.
15 questions
0
votes
1
answer
56
views
Substrate node handshake
I'm trying to do substrate node handshake. As far as I understand we first do Noise XX handshake with our initial request and then we proceed to upgrade the connection.
With the following code the ...
0
votes
0
answers
17
views
unable to discover and connect the peer to the --chain contracts-rococo-local
I'm trying to have my node discover and connect to the blockchain terminal so that the peer count will update from 0 peers to 1 peers. However, I keep getting this message:
2024-03-15 18:38:36.394 ...
2
votes
2
answers
48
views
How to imagine a real Substrate app?
How to imagine a real Substrate application?
I am trying to make an application, where you can trade your own product. You can advertise product, buy, list, see your earlier purchases, etc...
If I ...
0
votes
1
answer
61
views
Running smoldot light client with substrate-connect
Did anyone use light client (smoldot) with substrate-connect js library for connecting to multiple chains? Or have any experience with it?
Let me describe the problem. In the Nova Spektr application ...
0
votes
1
answer
58
views
Using Substrate Connect to Query custom chain pallets
We have been testing out the WS Provider in POlkadotJS and its working good with our custom pallets.
However we just got substrate Connect working with our custom substrate based node. The assets ...
0
votes
1
answer
61
views
Substrate-connect for solo-chains
I don't see any support for connecting via the substract-connect library for a sovereign chain. E.g. the addChain function has a dependency on the relay chain.
Is there some way to connect to a custom ...
2
votes
1
answer
63
views
Light Client Bootnode Max Connections Limit
I am trying to understand how the light client reduces dependence on RPC nodes. The typical RPC node uses the --ws-max-connections flag to set a specific limit on the number of web socket connections ...
3
votes
0
answers
33
views
Substrate-Connect Integration For Custom Chain Without BootNodes In The Chain Spec JSON
My question is: what is the best way to specify bootnodes for substrate-connect, inside the JS application, in this situation?
We are integrating substrate-connect into a JS application that uses the ...
1
vote
1
answer
68
views
How to use smoldot in rust application?
I can find only javascript interfaces and documentation to interact with it, but nothing regarding rust?
Feels a bit weird to use js library for rust application in rust application. Neither subxt ...
1
vote
1
answer
55
views
Substrate-Connect Error on new ScProvider
I am using Substrate Connect in the browser following the docs for a custom chain spec. When I try to create a new ScProvider like the documentation suggests i get an error that I am missing a ...
4
votes
2
answers
81
views
Substrate based parachain light client seems to gets connected but ApiPromise is not returned
I am trying to implement smoldot @substrate-connect light client to my DApp using chain specs of a substrate-based parachain. Substrate connect extension is able to discover the parachain as it shows ...
0
votes
1
answer
102
views
Run Smoldot Light Client
Any one here who can tell me step by step how to
run smoldot light client and in which environment(ubuntu Linux , Windows) and what are the pre-requisite to run a light client ?
1
vote
1
answer
85
views
Substrate connect light client cannot seem to sync blocks
I am trying to integrate the substrate-connect light client extension into our application, connecting to our parachain but getting the following warnings and debug messages in the extension logs.
[18:...
6
votes
1
answer
127
views
How can I make my runtime as light client friendly as possible?
Substrate Storage reads and writes are expensive and the runtime should always be optimized around minimizing such cost, which is quantified in terms of runtime computation for traversing the Merkle ...
7
votes
1
answer
113
views
How do I connect to a network using Substrate Connect?
I have the Substrate Connect light client browser extension installed but there are no networks listed in the options.
Click into the Options in the extension:
Clicking Networks does nothing:
How do ...