Hi guys, Can anyone help me or explain me to create a Vesting contract instead of time based, I want to set the vesting contract to the performance on token price. Example once the token price is high, there's a withdrawal. Any help? proposal? Tutorial? No DM, reply only
Apr 30, 2021, 7:15 AM
I see 2 things here. You can integrate price oracle like chainlink in smartcontract for price. For withdrawl, either it can be user action base or if you want automated, u need some background script running on server. One of the way i can think of.
Apr 30, 2021, 7:20 AM
Thank you for that idea, how about like a full skeletal of vesting contract instead of time based, use pricebase of token, I'm Talking about a smart contract only. The question is what function will trigger the contract to send token to a specific address when the price reached the limit.
Apr 30, 2021, 7:23 AM
Some oracle might be providing price based push alert api. U can use that to trigger the transaction.
Apr 30, 2021, 8:02 AM
Ohh see thank you.
Apr 30, 2021, 8:13 AM