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
Verifying my Blockstack ID is secured with the address 1MjNkDqSn4DLvVamVqwLzgU8SESa2YFGex https://explorer.blockstack.org/address/1MjNkDqSn4DLvVamVqwLzgU8SESa2YFGex |
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
// This smart contract can be used as an escrow while an item is being | |
//shipped. There are some flaws here, which a service like eBay has generally | |
//solved by taking phone calls and working it out. In many ways there are still | |
//non-code problems that are not taken into account in this small code example. | |
contract Purchase { | |
address seller; | |
address buyer; | |
uint value; | |
enum State { Created, Confirmed, Disabled } |