Skip to content

Next Hash Authentication Scripts #194

@VidereLicet

Description

@VidereLicet

Create the ledger virtual machine, so that we can create access control in the sigchain . This will look something like this:

OP::MASTER <NextHash> OP::OR OP::TRUST <NextHash> OP::WHERE contract.stake_change >= 0

This will allow us to create authentication patterns and different sets of credentials for each individual sigchain so you could for instance create a staking only credentials that you are logged into when staking. This will support any amount of OP::AND/OP::OR groupings so that you can also create multi-signature sigchains, or even credentials that activate with sigchain inactivity such as:

OP::ALL <NextHash> OP::WHERE sigchain.last.timestamp < since(`1 year`) 

This will allow credentials for NextHash to be used if the sigchain's last timestamp was created more than a year ago. This will work like create a will for your sigchain. This will also ensure that when you are staking you can be sure that those credentials if compromised won't be able to be used to OP::DEBIT funds from your account. This feature is being pushed to 6.0.0 release.

This is being worked on under the branch https://github.com/Nexusoft/LLL-TAO/tree/merging-auth

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Enhancements

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions