Git Product home page Git Product logo

amp-frontend-prototype's Introduction

AMP Frontend Prototype

This repository contains the prototype frontend for the Cryptodollar contracts and more generally the Proof AMP frontend. This repository does not represent in any way the product that will be released. The purpose of this repository is to provide the proof developers with the building blocks and primitives of a decentralized application.

Development Environment Setup

Requirements:

  • OSX or Linux (Windows setup is likely possible but not covered in this guide)
  • Node (version 8.9.4 recommended)
  • Solidity Compiler (version 0.4.18 or other)
  • Ganache-cli (v6.0.3 or higher)

Application Setup

  • Clone the repository and install dependencies
git clone https://github.com/ProofSuite/amp-frontend-prototype.git
cd amp-frontend-prototype
npm install

Linking Smart Contracts

  • The contract that will be linked to the frontend can be configured in the config.js file. For a fast development environment setup, you can use the cryptofiat-a branch of the private geth chain repository on which smart-contracts have already been deployed. (The network ID corresponding to the)

  • You can also use the main branch and deploy contracts yourself by following the instructions on the Proof Cryptofiat repository. In that case you will have to modify the addresses in the config.js file.

  • Similarly if you wish to use the application with a network ID for which no contracts have been deployed yet, you can do so by deploying the contracts first and including their addresses with the corresponding network ID as a key on the config.js file.

Start the application

npm run start

Contribution

Thank you for considering helping the Proof project!

To make the Proof project truely revolutionary, we need and accept contributions from anyone and are grateful even for the smallest fixes.

If you want to help Proof, please fork and setup the development environment of the appropriate repository. In the case you want to submit substantial changes, please get in touch with our development team on our slack channel (slack.proofsuite.com) to verify those modifications are in line with the general goal of the project and receive early feedback. Otherwise you are welcome to fix, commit and send a pull request for the maintainers to review and merge into the main code base.

Please make sure your contributions adhere to our coding guidelines:

  • Code must adhere as much as possible to standard conventions (DRY - Separation of concerns - Modular)
  • Pull requests need to be based and opened against the master branch
  • Commit messages should properly describe the code modified
  • Ensure all tests are passing before submitting a pull request

License

The Proof CryptoFiat smart contract (i.e. all code inside of the contracts and test directories) is licensed under the MIT License, also included in our repository in the LICENSE file.

amp-frontend-prototype's People

Contributors

dvisacker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.