DePayFi / widgets

💸 Payments directly into your wallet. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion and state-of-the-art widgets.
https://depay.com
MIT License
96 stars 36 forks source link

Donation amount max at 100 #64

Closed madiganz closed 2 years ago

madiganz commented 2 years ago

Using Donation widget with amount: true and I can only select 100 tokens max. The requirement would be the max available in wallet.

DePayWidgets.Donation({
        container: container.current,
        amount: {
          token: true
        },
        whitelist: {
          polygon: [
            "0x9008D70A5282a936552593f410AbcBcE2F891A97
          ]
        },
        accept:[
          {
            blockchain: 'polygon',
            token: "0x9008D70A5282a936552593f410AbcBcE2F891A97,
            receiver: donationAddr
          }
        ]
      })

image

10xSebastian commented 2 years ago

Try https://github.com/DePayFi/widgets/releases/tag/v7.15.3