such crypto,
so coin
wow
Photo © 2011 J. Ronald Lee
Bonus: online tutorial
Photo © 2010 Simon Cockell
Geographic and regulatory boundaries
Photo © 2013 Ray Forster
Photo © 2014 aehdeschaine

Agency for Vehicle Standards
Buyer/Owner
Vehicle & Drivers Authority (VDA)
Insurer
Arium Logistics
Police
asset Vehicle identified by vin {
o String vin
o VehicleDetails vehicleDetails
o VehicleStatus vehicleStatus
--> Person owner optional
o String numberPlate optional
}
transaction TransferVehicle {
--> Vehicle vehicle
--> Person seller
--> Person buyer
o String specialNotes optional
}
/**
* Transfer a vehicle to another owner
* @param {org.example.TransferVehicle} transferVehicle - the TransferVehicle transaction
* @transaction
*/
function transferVehicle(transferVehicle) {
var currentParticipant = getCurrentParticipant();
var vehicle = transferVehicle.vehicle;
var seller = transferVehicle.seller;
var buyer = transferVehicle.buyer;
// ...
vehicle.owner = buyer;
return getAssetRegistry('org.example.Vehicle')
.then(function(assetRegistry) {
return assetRegistry.update(vehicle);
});
}
rule TransferVehicleRule {
description: "Owner can transfer vehicle"
participant(p): "org.example.Person"
operation: READ, CREATE, UPDATE
resource(v): "org.example.Vehicle"
transaction(tx): "org.example.TransferVehicle"
condition: (v.owner.getIdentifier() == p.getIdentifier())
action: ALLOW
}
Photo © 2011 Joe Ross