• Resolved bermarpapa

    (@bermarpapa)


    Hi, i deployed a suika contract with a custom paqyment token, on polygon chain, the token have 8 decimal, but when i test a buy nft,, the suika respond that i havent enougth balance, because use 18 decimal, how can i solve this.
    thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lisandro Martinez

    (@wpsmartcontracts)

    The logic to handle decimals is not in the smart contract, it is in the interface, but I have checked your token and it seems correct, also the plugin should be able to manage the token with any number of decimal places.

    What is the token ID you are trying to buy?

    What account are you trying to buy from?`

    Thread Starter bermarpapa

    (@bermarpapa)

    hi, thanks for your time, token id is 12, listed for 1000 gold.

    the account are [email protected]
    thanks

    Plugin Author Lisandro Martinez

    (@wpsmartcontracts)

    Hi,

    Thanks, but by account, I mean your metamask account you used to approve tokens to pay for the sale

    Plugin Author Lisandro Martinez

    (@wpsmartcontracts)

    Closing, if the problem persists feel free to open a new ticket

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘suika issue on custom token’ is closed to new replies.