You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to understand if you support substrate nodes. Is it that I have to provide ws rpc url in snapconfig, in that case what would be the snap network here? Any help there?
I wanted to understand if you support substrate nodes. Is it that I have to provide ws rpc url in snapconfig, in that case what would be the snap network here? Any help there?
The snippet below is from: https://github.com/chainsafe/metamask-snap-polkadot/tree/master/packages/adapter
Enabling API you folks have:
function enablePolkadotSnap(
config?: SnapConfig,
snapOrigin?: string,
snapInstallationParams?: Record<SnapInstallationParamNames, unknown> = {}
): Promise
Configuration document:
SnapConfig {
networkName: SnapNetworks;
wsRpcUrl?: string;
addressPrefix?: number;
unit?: UnitConfiguration;
}
SnapNetworks = "polkadot" | "kusama" | "westend";
UnitConfiguration {
symbol: string;
decimals: number;
image?: string;
customViewUrl?: string;
}
The text was updated successfully, but these errors were encountered: