Research question
Can Splice's LockedAmulet back a vesting escrow, and what would an AmuletBackend implementation have to look like? The source repo carries only a stub, so both the semantic fit and the effort are unknown.
Time-box
1 day
Background / What we already know
dapp/frontend has MockBackend and the inert LiteBackend behind a createBackend seam, both satisfying src/backend/VestingBackend.ts. Canton Coin (Amulet) is Splice's native token; LockedAmulet is its time-lock primitive. The source repo's AmuletBackend never got past a stub.
Investigation approach
- Read Splice's
LockedAmulet templates and their lock/unlock choices
- Map the
VestingBackend interface onto them: createVesting, accept, withdraw, cancel, claimResidual
- Check both curve kinds in
src/lib/schedule.ts: linear maps plausibly onto a time-lock, milestone is a step function and may not
- Establish whether
cancel to residual-claim semantics survive a lock primitive that knows only one expiry
- Rough-estimate the build effort
Expected output
Decision (go / no-go); Technical recommendation with trade-offs
Next steps
Research question
Can Splice's
LockedAmuletback a vesting escrow, and what would anAmuletBackendimplementation have to look like? The source repo carries only a stub, so both the semantic fit and the effort are unknown.Time-box
1 day
Background / What we already know
dapp/frontendhasMockBackendand the inertLiteBackendbehind acreateBackendseam, both satisfyingsrc/backend/VestingBackend.ts. Canton Coin (Amulet) is Splice's native token;LockedAmuletis its time-lock primitive. The source repo'sAmuletBackendnever got past a stub.Investigation approach
LockedAmulettemplates and their lock/unlock choicesVestingBackendinterface onto them:createVesting,accept,withdraw,cancel,claimResidualsrc/lib/schedule.ts:linearmaps plausibly onto a time-lock,milestoneis a step function and may notcancelto residual-claim semantics survive a lock primitive that knows only one expiryExpected output
Decision (go / no-go); Technical recommendation with trade-offs
Next steps