Pangea Development Update 02

in #bitnation9 years ago

UI/UX Development

First version of Pangea alpha released on Linux and Mac.

https://github.com/Bit-Nation/pangea-electron/releases

Thanks to @evok3d @johan.nygren9 and @xstt for finalizing the pre-Alpha Pangea UI, and to @evok3d @dominictarr @flexliv and @cryptowanderer for Linux and Mac release engineering. Win release forthcoming.

If anyone can help compiling the Windows version we would be grateful.

Infrastructure Development

Digital Signature Implementation

Short summary of DS implementation by @flexliv: Drop the blockchain insert and make it “offline” for that aspect, then just put the final cert in Pangea msg/data. And with that, use that “backlog” as record.

DS can also be timestamped into the Ethereum blockchain, but if we have it in the “blob” then it's sort of timestamped and distributed as such. Plus the signature is valid.

Mobile Application

The Patchbay Lite Client works on smartphones, however it uses a central server at the moment. According to @ev this can be fixed by connecting to multiple ws remotes in the browser. Right now the Lite Client can be manually changed if your server goes down using localStorage.remote on the browser console. @mixmix: To do that you have to be able to run sbot on your phone, which should be possible but needs more work.

Making the mobile phone application user friendly and entirely decentralized will be one of Pangea’s main priorities Q1/Q2 2017.

<Smart.Love> Example Contract in Solidity

Standard Contract made by Hudson Jameson
hudsonjameson.com/ethereummarriage/makeyourown/

contract Marriage
{
// Marriage data variables
address public owner;
bytes32 public partner1;
bytes32 public partner2;
uint256 public marriageDate;
bytes32 public marriageStatus;
bytes public imageHash;
bytes public marriageProofDoc;

//Set Owner
function Marriage() {
    owner = msg.sender;
}
modifier onlyowner() { 
    if (msg.sender == owner)
        _
}
// Create initial marriage contract
function createMarriage(bytes32 partner1Entry, bytes32 partner2Entry, uint256 marriageDateEntry, bytes32 statusEntry, bytes32 descriptionEntry) onlyowner
{
    partner1 = partner1Entry;
    partner2 = partner2Entry;
    marriageDate = marriageDateEntry;
    setStatus(statusEntry);
    bytes32 name = "Marriage Contract Creation";
    
    majorEventFunc(marriageDate, name, descriptionEntry);
}

function getOwner() returns (address owner)
{
    return owner;
}

// Set the marriage status if it changes
function setStatus(bytes32 status) onlyowner
{
    marriageStatus = status;
    majorEventFunc(block.timestamp, "Changed Status", status);
}

// Set the IPFS hash of the image of the couple
function setImage(bytes IPFSImageHash) onlyowner
{
    imageHash = IPFSImageHash;
    majorEventFunc(block.timestamp, "Entered Marriage Image", "Image is in IPFS");
}

// Upload documentation for proof of marrage like a marriage certificate
function marriageProof(bytes IPFSProofHash) onlyowner
{
    marriageProofDoc = IPFSProofHash;
    majorEventFunc(block.timestamp, "Entered Marriage Proof", "Marriage proof in IPFS");
}
// Log major life events
function majorEventFunc(uint256 eventTimeStamp, bytes32 name, bytes32 description)
{
    MajorEvent(block.timestamp, eventTimeStamp, name, description);
}
// Declare event structure
event MajorEvent(uint256 logTimeStamp, uint256 eventTimeStamp, bytes32 indexed name, bytes32 indexed description);

// This function gets executed if a transaction with invalid data is sent to
// the contract or just ether without data. We revert the send so that no-one
// accidentally loses money when using the contract.
function () {
    throw;
}

}

Additions made by @johan.nygren9:

  • Choice of Law
  • Choice of Arbitrator and Witnesses

@evoked and @xstt have created 18Million DST tokens on <ether.camp>. The tokens can be purchased for HKG on the camp. The tokens are not to be seen as an investment, they don’t - at this stage - give you voting rights or profit dividend rights. The DST tokens are also totally disconnected from Bitnation’s XBN crypto-equity.

The only purpose of the tokens is to give some financial encouragement to the Pangea/ Smart Love developers who are volunteering their time and knowledge to build the application.

https://hack.ether.camp/public/smart-love-3-ethereum-marriage-on-securescuttlebutt

In progress/ TODO

Sort:  

Congratulations @bitnation! You have received a personal award!

Happy Birthday - 1 Year
Click on the badge to view your own Board of Honor on SteemitBoard.

For more information about this award, click here

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.083
BTC 60762.96
ETH 1565.09
USDT 1.00
SBD 0.47