0rtis / dfktools

Interact with the contracts of DefiKingdoms
MIT License
127 stars 95 forks source link

Issue with bid_hero #31

Closed big-analytics closed 2 years ago

big-analytics commented 2 years ago

I am trying to use the auction modules, but when trying to call bid_hero I get this error.

image

big-analytics commented 2 years ago

I found it, converted my input into token_id into an integer before.

But now, next to the following one.

image

I am pushing 'nonce' as input.

0rtis commented 2 years ago

It has been a while so I hope you figured it out. If not, it looks like you are passing a passing a string "nonce" for the parameter nonce while a int is expected (use w3.eth.account.privateKeyToAccount(private_key).address to get the current nonce)