OpenBazaar Contract Tools

A Beautiful Tool to View and Create OpenBazaar Ricardian Contracts.

For testing purposes only!




OpenBazaar Contract Tools


What is this?


Client-side tools created with AngularJS to parse OpenBazaar Ricardian Contracts formatted in JSON, displaying them in stylish HTML (twitter bootstrap, responsive design), and also automagically populate the fields of CommonAccord's legally enforceable escrow contract template.

Please note that this is for testing only, using a yet unimplemented version of the OpenBazaar contract schema. It is also an unfinished tool, so do not expect that anything your create here is legally enforceable... neither is it legal advice. Always consult legal experts.


OpenBazaar Contract Tools


How to use


Profound stuff here.


Create an OpenBazaar Ricardian Contract


Stage 01: The Merchant


Item Details



Note: the contract the price is to purchase the total number of units of the item.

The Merchant


Digital Signatures

Digitally sign what appears below with your PGP key!


By entering your digital signature, you are declaring your intention to sell the item in this contract!
Merchant's Public Key
{{newcontract.stage01_merchant.genesis.merchant.pubkeys.pgp}}
Merchant's Digital Signature
{{newcontract.stage01_merchant.signatures.pgp}}


{{check}}

{{newcontract.stage01_merchant.genesis.item_data.title}}

By {{newcontract.stage01_merchant.genesis.merchant.handle}}


Description:

{{newcontract.stage01_merchant.genesis.item_data.description}}


OpenBazaar Raw Contract


{{display1}}

OpenBazaar Contract Tools


How to use


Profound stuff here.


Buy an OpenBazaar Ricardian Contract


Import Contract


Hash of the contract you're importing

{{buyercontract.stage01_merchant.genesis.item_data.title}}

By {{buyercontract.stage01_merchant.genesis.merchant.handle}}


Description:

{{buyercontract.stage01_merchant.genesis.item_data.description}}


Stage 02: The Buyer


Buyer Details



Digital Signatures

Digitally sign what appears below with your PGP key!


By entering your digital signature, you are declaring your intention to buy the item in this contract!
Buyer's Public Key
{{buyercontract.stage02_buyer.buyer.pubkeys.pgp}}
Buyer's Digital Signature
{{buyercontract.stage02_buyer.signatures.pgp}}


{{check2}}

OpenBazaar Raw Contract


{{display2}}

OpenBazaar Contract Tools


How to use


Profound stuff here.


Notarise an OpenBazaar Ricardian Contract


Stage 03: The Notary


Reference Contract


Hash of the contract you're notarising

Notary Details


Multisignature Escrow Address


Digital Signatures

Digitally sign what appears below with your PGP key!

{{notarycontract.stage03_notary.notary}}

SHA256 hash of "Stage 02: buyer Part" (i.e. this is a tamper-proof statement of what you want to notarise)


By entering your digital signature, you are declaring your intention to notarise this contract!
Notary's Public Key
{{notarycontract.stage03_notary.notary.pubkeys.pgp}}
Buyer's Digital Signature
{{notarycontract.stage03_notary.signatures.pgp}}


{{check3}}

{{notarycontract.stage01_merchant.genesis.item_data.title}}

By {{notarycontract.stage01_merchant.genesis.merchant.handle}}


Description:

{{notarycontract.stage01_merchant.genesis.item_data.description}}


Purchased:

By {{notarycontract.stage02_buyer.buyer.handle}}

OpenBazaar Raw Contract


{{display3}}

OpenBazaar Contract Tools


How to use


Profound stuff here.


Fund a Multisignature Escrow Address


Stage 04: Buyer Funds Escrow


Reference Contract


Hash of the contract that you are funding escrow for

Fund Escrow and Indicate Shipping Address

This is the reference to the transaction demonstrating that the multisignature escrow address, indicated in Stage 03: Notary has been funded appropriately.
What address should the merchant ship the item to?

Digital Signature

Digitally sign what appears below with your PGP key!

{{escrowfund.stage04_escrowfunding.funding_evidence}}

By entering your digital signature, you are declaring you have funded this contract and indicated a shipping address for the item to be delivered!
Buyer's Public Key
{{escrowfund.stage02_buyer.buyer.pubkeys.pgp}}
Buyer's Digital Signature
{{escrowfund.stage04_escrowfunding.signatures.pgp}}



{{check4}}

OpenBazaar Raw Contract


{{display4}}

OpenBazaar Contract Tools


How to use


Profound stuff here.


Ship an Item


Stage 05: Merchant Ships and Item


Reference Contract


Hash of the contract that you are shipping the item for

Shipping Details

What is the name of the shipping company?
What is the legal address of the shipping company?
What is the tracking number of the item shipped?

Release funds to merchant

A signed transaction (in Hex format) releasing funds from the multisig to the merchant (assuming that the shippment goes well and the buyer is satisfied).

Digital Signature

Digitally sign what appears below with your PGP key!

{{shipping.stage05_shipment.shipment}}

By entering your digital signature, you are declaring that you have shipped the item in this contract!
Merchant's Public Key
{{shipping.stage01_merchant.genesis.merchant.pubkeys.pgp}}
Merchant's Digital Signature
{{shipping.stage05_shipment.signatures.pgp}}



{{check5}}

OpenBazaar Raw Contract


{{display5}}

OpenBazaar Contract Tools


How to use


Profound stuff here.


Release Funds to the Merchant


Stage 06: Buyer releases funds from escrow to merchant


Reference Contract


Hash of the contract that you are shipping the item for

Complete Contract

If the item arrived and everything looks good, set the status as 'Complete'. If there is a problem, set the status as 'Disputed'.
Leave a simple message for the merchant..

Release Funds to Merchant

This is a signed transaction releasing funds from the multisignature escrow address to the merchant. It has 1 out of the minimum of 2 signatures required. Sign this transaction with your Bitcoin key, broadcast it to the network and paste it below.
A signed transaction (in Hex format) releasing funds from the multisig to the merchant (assuming that the shippment goes well and the buyer is satisfied).
If the contract is 'Complete', specific the transaction ID that gives evidence to the release of funds from the multisignature escrow address to the merchant.

Digital Signature

Digitally sign what appears below with your PGP key!


By entering your digital signature, you are declaring that you have shipped the item in this contract!
Buyer's Public Key
{{release.stage02_buyer.buyer.pubkeys.pgp}}
Merchant's Digital Signature
{{release.stage06_release.signatures.pgp}}



{{check6}}

OpenBazaar Raw Contract


{{display6}}