× This Challenge was posted 5 years ago

Challenge view

Back to Project

Le Petit Dapp

A payment systems concept for Le Petit Frigo

⛶  Fullscreen ↓  Download

A second prototype was developed to investigate the ability to use blockchain-based platforms to provide alternative subscription or payment models for the Le Petit Frigo challenge. See code details below and visit the forum post for background & to leave feedback.

Le Petit Frigo - Blockchain Demo

This repository contains an experimental Dapp quickly created during the Agricathon 2019 in response to the Le Petit Frigo challenge.

Built with Truffle 4 and eth-vue, it consists of a Vue.js frontend with smart contracts written in Solidity, which can be deployed to an Ethereum blockchain. In development, Ganache, Remix IDE and truffle-cli were used.

Demo: Screencast (YouTube)

Development

After cloning this project locally, install Ganache or set up another blockchain for development purposes.

truffle console --network ganache

With a command like above you can start the Truffle console, then enter

migrate --reset --compile-all

If not using Ganache, you'll want to configure the network URLs in app-users/src/libs/mixinViews.js and truffle-config.js

cd app-users

Enter the app subfolder, where you'll also find a README with additional details. Install the frontend dependencies (see additional info):

yarn

Then run it:

yarn run dev

Open your browser and play with the Dapp!

Resources

This content is a preview from an external site.
 
Contributed 5 years ago by loleg for Agricathon 2019

#agricathon

All attendees, sponsors, partners, volunteers and staff at our hackathon are required to agree with the Hack Code of Conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to ensure a safe environment for everybody. For more details on how the event is run, see the Guidelines on our wiki.

Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.