ConsenSysMesh / web3studio-sojourn

A React Native DevKit with code for a Web3 Decentralized Data Storage Pattern.
https://consensys.github.io/web3studio-sojourn/
Apache License 2.0
31 stars 6 forks source link

Uport contract #34

Closed barlock closed 6 years ago

barlock commented 6 years ago

Related Issue
Fixes #9

Related PRs
Depends JSDoc #32, Entrypoint fix #33

What does this PR do?
PoC for interacting with a smart contract using uPort in a RN app. It saves the hash of Date.now() the same way we will with notes. The UI responds by adding it to the home screen (poorly), and updating it to confirmed with the block.timestamp when it went up. Lots of wiring.

Description of Changes
😱⚠️ I checked in the /build/contracts folder. I think this is nessisary? It includes migration data and I can't think of any other (saner) way to make it so you don't constantly deploy new smart contracts.

What gif most accurately describes how I feel towards this PR?
party