Has anyone been able to successfully populate the InitiateTopup Params in Torus?
await torusPlugin.initiateTopup(“wyre”, {
selectedAddress: acct,
selectedCurrency: “USD”, // Fiat currency
fiatValue: 400, // Fiat Value
selectedCryptoCurrency: “ETH”, // Cryptocurreny SOL, MATIC etc.
chainNetwork: “mainnet”, // Blockchain network
});
The only thing that works is selecting the right provider in this case wyre, however the fiatValue does nothing and the selectedCryptoCurrency never works because we do not have the list.
Anyone ever done anything like this? Really don’t want to have to build our own onramp.
@vjgee What’s the list of available cryptocurrencies? I had the same problem as @drewgonzales2021. I’m establishing a connection to the BSC but when I initiate a top-up to buy BUSD or BNB (first I change the network to “bsc_mainnet” because it says that in the docs), and I get an error saying that the selected cryptocurrency is not supported, but If i go manually to moonpay it allows me to buy BUSD so it has to be supported.
I guess it is something related to the network. Maybe something similar to this topic with the FIAT field and maybe it is not changing the network, therefore staying inside the Ethereum network and not changing to the BSC network.
If you can please take a look and maybe solve my issue