So we are building a project which is still at its very early stage.
Is it possible to stake from script addresses?
Trying to use this to implement a feature; cash advance system.
PS: Our hands are wide open to new team members.
So we are building a project which is still at its very early stage.
Is it possible to stake from script addresses?
Trying to use this to implement a feature; cash advance system.
PS: Our hands are wide open to new team members.
A script address can be combined with a stake key so that staking rewards accrue from ADA held in the script. I have verified this on testnet
.
Currently, a script address cannot be a stake key, but I have the impression that might change in the future. So, right now, a script cannot spend staking rewards.
See this thread for more discussion.
Thank you, I figured I might need to explain further…
Not a techie!!
Now for this cash advance, say 4 investors put in a constant amount of 500 ADA and locked it for 1month. The first investor needs quick cash so he takes the reward of all four investors. This is rotated till all investors gets their rewards.
This ofcourse, if possible to implement right now must be Decentralized and trustless.
Prior to smart contracts, I think you can accomplish this trustlessly, but not in a decentralized fashion. Below is the recipe for a one-month segment: doing four month-by-month rotations would be much more complicated because it would involve setting up 16 scripts that cascade funds each month.
For each one-month round, you’d need to create four time-locked scripts (one for each investor). Each investor would have the private key for their own script, but the reward from all four scripts would accrue to the first investor. Here is the procedure, but steps 1-7 are not decentralized:
As you can see, this involves complexity, technical skills, and requires person-to-person communication and file transfer. Just rotating rewards probably wouldn’t be worth dealing with all of this.
You have done more than justice to this, thank you for the feedback… It’s the most detailed I have seen in our research, inquiries and consulting within the community.
Please, expect my PM.