This PR abstracts creating a Stargate client and wallet with createNilChainClientAndWallet, and then the user can choose to use either createNilChainClientAndWalletFromPrivateKey and createNilChainClientAndWalletFromKeplr. The payWithWallet function is unchanged, except for its name (changed everywhere else). It also exports a "Pay with Keplr" button.
This PR abstracts creating a Stargate client and wallet with
createNilChainClientAndWallet
, and then the user can choose to use eithercreateNilChainClientAndWalletFromPrivateKey
andcreateNilChainClientAndWalletFromKeplr
. ThepayWithWallet
function is unchanged, except for its name (changed everywhere else). It also exports a "Pay with Keplr" button.