Questions tagged [substrate-connect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
65 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
  • 517
0 votes
1 answer
24 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
38 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
27 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
23 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
54 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
42 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
65 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
93 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 ?
Mohammad Abuzar's user avatar
1 vote
1 answer
72 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
121 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,570
6 votes
1 answer
94 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,377