Created
July 7, 2014 16:44
-
-
Save hoffmabc/1162808187c9a92c10c1 to your computer and use it in GitHub Desktop.
Fixed Price contract fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contract = { "OBCv":"0.1-alpha" }; | |
contract.category = "physical_goods"; | |
contract.nym_id = ""; | |
contract.contract_exp = "2014-01-01 00:00:00"; | |
contract.keywords = ""; | |
contract.currency = "XBT"; | |
contract.node_id = ""; | |
contract.address = ""; | |
contract.sellerPGP = ""; | |
contract.item_title = ""; | |
contract.item_desc = ""; | |
contract.unit_price = ""; | |
contract.shipping_price = ""; | |
contract.item_quantity_available = ""; |
Hey Brian,
Template:
{
"Contract_meta": {
"OBCv": "0.1-alpha",
"category": "physical_goods",
"subcategory": "fixed_price",
"conctractNonce": "",
"expiration": ""
},
"Seller": {
"seller_GUID": "",
"seller_BTCuncompressedpubkey": "",
"seller_pgp": []
},
"Contract": {
"item_title": "",
"item_keywords": "",
"currency": "XBT",
"item_price": "",
"item_quantity": "",
"item_desc": [],
"item_images": [
"data:image/png;base64,"
],
"item_delivery": {
"countries": "",
"region": "",
"est_delivery": "",
"shipping_price": ""
}
},
"Buyer": {
"buyer_GUID": "",
"buyer_BTCuncompressedpubkey": "",
"buyer_pgp": [],
"buyer_deliveryaddr": ""
},
"Notary": {
"notary_GUID": "",
"notary_BTCuncompressedpubkey": "",
"notary_pgp": [],
"notary_fee": ""
},
"Escrow": {
"multisig_addr": "",
"multisig_redemptionscript": []
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh one more.
contract.item_images = [];