A LETS currency system and mobile application built for Ethereum-like networks.
- Ensure you are using node
v8.11.1
or higher. Use nvm when configuring for development to avoid version conflicts with other projects. - If you don't have the latest version of yarn:
npm i -g yarn
- run
yarn install
at the toplevel folder to install dependencies.
npm run dev
brings up the mobile app server and gives you an Expo app QR code. See App → Setting up / quickstart.
See the README file in each module folder for more indepth information on its operation.
This package provides the following modules. Click on the name to view each individual readme file for further information.
lets-contracts
: Smart contracts describing a LETS systemmaleny-lets-views
: View layer / design system for app interface; themed specifically to local LETS chaptermobile-app
: React Native app for interacting with the blockchain
This repo uses Yarn workspaces to manage dependencies. This results in a nice clean dev setup where all repositories are automatically linked and can be managed as a single codebase.
There are problems with this- see https://github.com/viewstools/yarn-workspaces-cra-crna for workarounds currently employed.
Something to keep in mind- this app will eventually need to be 'ejected' from Expo in order to run a fully native layer so that we can sync pending blockchain transactions in the background when 3G connectivity is restored to the device.
MIT