const wallet = await this.getWallet(this.selectedNetwork); // get wallet using DAppClient...
  const Tezos = new TezosToolkit(this.config.rpc_endpoints[this.selectedNetwork]);
        // some other code...

Hi, I'm trying to use taquito and DAppClient from @airgap/beacon-sdk and keep receiving this error:

TypeError: this.walletProvider.mapOriginateParamsToWalletParams is not a function

Is there any possible workaround maybe?

  • What is this getWallet function? After initiating the new wallet (with new BeaconWallet(...)), you have access to the DappClient of the Beacon SDK through wallet.client. Jan 8, 2021 at 16:04
  • @ClaudeBarde hi, it basically gets a wallet through DAppClient, asks for permissions and then returns it if successfully. I wonder if it is possible to use DAppClient with Tezos.setProvider? I see you noticed wallet.client but it's actually undefined in my case, when I use DAppClient 😞 Jan 8, 2021 at 17:10
  • Are you using the Beacon SDK directly? I don't really understand what you are trying to achieve, Tezos.setProvider() only accepts an instance of a wallet recognized by Taquito, like the BeaconWallet or the ThanosWallet, you cannot spin up the DappClient provided by Beacon individually and inject it as a provider. Jan 8, 2021 at 21:21


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.