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 5 forks source link

Setup truffle suite with drizzle on the front end #24

Closed barlock closed 5 years ago

barlock commented 5 years ago

Related Issue Supports #3

Related PRs This PR is not dependent on any other PR

What does this PR do? Adds truffle and drizzle as a POC. All this does is uses ganache-cli to fake-deploy a contract and give you an address back.

Next step is to get uPort working with drizzle. This pr was getting out of hand so I wanted to get it commited sooner rather than later.

Description of Changes https://github.com/trufflesuite/drizzle/issues/130

drizzle+react native is where a lot of the time/effort/pain is. Lots of shimming all detailed in that issue. The rest is straight forward. I'll write some tests for the drizzle provider immediately next. If you'd like to see those in this pr we can wait, but the shimming was getting big.

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