Autoconvert ICO smart contract to into Stable Coin on recieve

Dear Community,

Is there a method or util that can autoconvert the recieved/raised ETH into a stable coin (tether/dai for example)? I am looking to mitigate market volitility, for potential funds raised.

I have checked out OpenZeppelin sentinels, but as a novice coder, im not sure i have the skill set.

Standard ICO contracts with 0.4+ compilers have been used thus far. Im versed in remix and vs code. I deployed through web3 and mew.

If someone can point me in the right direction it would be greatly appreciated. Thank you!

Hi, welcome! :wave:

I think there is not such contracts, you have got to achieve one by yourself. And you can swap token by Uniswap or 1inche.

hey, you could use Uniswap interface to use swapExactETHForTokens function. This will allow you to swap the received ETH to a token of your choice

1 Like

Thank you so much for getting back, ill check out these functions :grinning:

Amazing thank you! Ill check out the function, so great man cheers!

1 Like