Skip to content
Electronic Rights Transfer Protocol, the Smart Contract Framework
Branch: master
Clone or download
Latest commit ae02736 Jul 13, 2019

ERTP - Electronic Rights Transfer Protocol

Mark Miller explained ERTP Oct 10, 2018 in his Programming Secure Smart Contracts presentation during San Francisco Blockchain Week at a SF Cryptocurrency Devs meetup.


See also more Agoric events.

Install and Test

Note node >= 11.0 is required.

$ npm install
$ npm test

Higher Order Smart Contracts

The contractHost demo details the composition of a covered call option with an escrow exchange contract.


Usage: Contract Host Demo

$ npx vat run demo/contractHost -- covered-call-sale
++ bob.offerAliceOption starting
++ alice.acceptOptionForFred starting
++ alice.completeOptionsSale starting
++ fred.acceptOptionOffer starting

You can’t perform that action at this time.