A contract system based upon contacts.js