@polkadot-api/sm-provider
v0.1.4
Published
`JsonRpcProvider` to connect to a chain via Smoldot.
Downloads
8,477
Readme
@polkadot-api/sm-provider
JsonRpcProvider
to connect to a chain via Smoldot.
function getSmProvider(
chain: smoldot.Chain | Promise<smoldot.Chain>,
): JsonRpcProvider
The parameter it takes is a Chain
from smoldot, the return value of calling smoldot.addChain(..)