LasticXYZ / LasticUI

A UI for the Coretime Parachain
https://lastic-ui.vercel.app
GNU Affero General Public License v3.0
14 stars 16 forks source link

requires research #86

Open poppyseedDev opened 7 months ago

poppyseedDev commented 7 months ago

once the goal for the payout has been reached check if there is possibilty that the smart contract can send to a money only to a special kind of account (maybe proxy - that can only spend the money for a special intension) -

Note Once you take on this PR paste a comment with your hand -> ✋ so that people know that someone is working on this issue.

noahjoeris commented 6 months ago

As discussed today there is the possibility to use Moonbeams XCM Transact V3 precompile. It allows to make Substrate Pallet calls via xcm from withing the smart contract. This could be used to communicate with the coretime chain and buy bulk coretime and sent it to an address afterwards. In my opinion this is the best way to ensure funds are used for the purpose of buying coretime and cannot be spent any other way.

However, I suggest this might be overkill for the first version. Sticking with a simple fundraising payout to the owner is sufficient at the beginning. And later iterate and add this feature since it needs some work as the docs provide not a lot of help and thorough testing is needed.

Simple steps how it works: