Proposing the idea of removing 'suggest-chain' from the features array, and instead creating its own optional object.
e.g.,:
"suggest_chain_feature": {
"docs": "https://docs.keplr.app/api/suggest-chain.html",
"parameters": {
"optional": [
"walletUrlForStaking",
"alternativeBIP44s",
"features"
]
}
}
"suggest_chain_feature": {
"docs": "https://docs.leapwallet.io/cosmos/connect-to-leap-on-dapps/suggest-chain",
"parameters": {
"optional": [
"rpcTest",
"restTest"
"walletUrlForStaking",
"alternativeBIP44s",
"features"
],
"extra_required": [
"image_url",
"theme_leap"
]
}
}
"suggest_chain_feature": {
"docs": "https://docs.leapwallet.io/cosmos/connect-to-leap-on-dapps/suggest-chain",
"parameters": {
"required": [
"rpc",
"rest",
"chainId",
"chainName",
"stakeCurrency",
"bip44",
"bech32Config",
"currencies",
"feeCurrencies",
"theme_leap",
"image_url"
],
"optional": [
"rpcTest",
"restTest"
"walletUrlForStaking",
"alternativeBIP44s",
"features"
]
}
}
This allows us to define a standard for the suggest chain feature, and so we can much more easily programmatically determine whether a chain can be added to a dApp, based on whether the chain's registration is compatibile with the dApp's supported wallet's suggest_chain feature.
Proposing the idea of removing 'suggest-chain' from the features array, and instead creating its own optional object.
e.g.,:
This allows us to define a standard for the suggest chain feature, and so we can much more easily programmatically determine whether a chain can be added to a dApp, based on whether the chain's registration is compatibile with the dApp's supported wallet's suggest_chain feature.