time-locked-wallets icon indicating copy to clipboard operation
time-locked-wallets copied to clipboard

How would this differ if i wanted to allow for hundreds of ERC20's

Open ImTiaan opened this issue 5 years ago • 3 comments

Hey there,

Thanks for the great bit of work and tutorial. I was wondering if there was a way to either allow any ERC20 token to be deposited without defining the token, or where I would need to look to manually add tokens to the dapp?

Thanks!

ImTiaan avatar Nov 10 '18 17:11 ImTiaan

Hi there, the smart contract supports any token implementing ERC20 interface, so the only place that would require changes is the frontend dapp. As of now it is hardcoded to only ToptalToken, but a little bit of frontend work should allow you make it flexible and add other tokens too.

radek1st avatar Nov 13 '18 06:11 radek1st

Ah thanks so much!

ImTiaan avatar Nov 13 '18 15:11 ImTiaan

No worries, contact me on [email protected] and I can help you out with your usecase.

radek1st avatar Nov 14 '18 02:11 radek1st