Skip to main content

Questions tagged [substrate-connect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 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 ...
themartto's user avatar
0 votes
0 answers
12 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 ...
AndrewKim's user avatar
2 votes
2 answers
47 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 ...
Vamosz's user avatar
  • 55
0 votes
1 answer
60 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 ...
Pavel Golovkin's user avatar
0 votes
0 answers
84 views

Smoldot + polkadotjs: UnusedProofEntry when attempting to query a contract

I'm running a custom smoldot node, synced with a hosted bootnode, in a react-based application and attempting to interact with an ink! contract deployed to the network. My fork of smoldot accounts for ...
Tony's user avatar
  • 527
0 votes
1 answer
53 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 ...
donkeydonkey's user avatar
0 votes
1 answer
54 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 ...
Justin Frevert's user avatar
2 votes
1 answer
59 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 ...
KathrynColleen's user avatar
3 votes
0 answers
28 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 ...
KathrynColleen's user avatar
1 vote
1 answer
66 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 ...
hitchhooker's user avatar
1 vote
1 answer
53 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 ...
donkeydonkey's user avatar
4 votes
2 answers
79 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 ...
vivek sharmapoudel's user avatar
0 votes
1 answer
101 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 ?
user avatar
1 vote
1 answer
78 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:...
yornaath's user avatar
6 votes
1 answer
126 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 ...
Sacha Lansky's user avatar
  • 2,640
7 votes
1 answer
111 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 ...
forgetso's user avatar
  • 1,514