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

Set up Web3.js and Truffle in React-Native environment #4

Closed hadasz closed 5 years ago

hadasz commented 5 years ago

As a developer, I can know that I can interact with an already existing smart contract in in react-native so that we know we can use web3.js in react-native.

Acceptance

References react-native truffle box: https://github.com/truffle-box/react-native-box

barlock commented 5 years ago

Based on this truffle-box existing, isn't that proof enough that it works?

barlock commented 5 years ago

uport-connect comes with an instance of web3. So this should be a quick win.

barlock commented 5 years ago

Learnings uport-connect's web3 (v0.19) provider in it's current state can't deploy contracts. I believe it can send transactions (interacting with existing contracts) reasonably though.

After removing drizzle, I'm going to work on #9 with the intent of proving out the rest of uport's function.