HyperBEAM package for security@1.0.
security@1.0 validates authority by selecting a template for the requested
security key.
template selection:
- explicit: set
<key>-template - default for
set-authority: if any static key exists, usestatic-signer-set-- otherwise usesupply-threshold-owner - default for everything else:
static-signer-set
current templates:
static-signer-set: classic signer policy. uses<key>,<key>-required, and<key>-match. empty staticset-authorityconfig fails closed.supply-threshold-owner: dynamicset-authority. only valid forset-authority. it checks one caller, validates the address, reads the caller's canonical balance, and compares it tototal-supply. default threshold is10000bps (the caller must own 100% of supply)
mixing static set-authority keys with supply-threshold-owner is rejected
rebar3 compilerebar3 device package
rebar3 device verifydevice publish: security@1.0
spec=qtC0Ae3Yt78mN8jqWG2dH14grcUK9CKhAtd3dsJ-ft0
impl=cfKDo4KvBzje-teLrwcLn98LY7DeecFdX1r7HgEcGtI
signer=vZY2XY1RD9HIfWi8ift-1_DnHLDadZMWrufSh-_rKF0rebar3 device test
rebar3 eunit-allrebar3 device localrebar3 device publish --key wallet.jsonthis pakcage is licensed under the MIT License