Giter Site home page Giter Site logo

kleros / arbitrable-payment-front Goto Github PK

View Code? Open in Web Editor NEW
7.0 15.0 3.0 1.03 MB

Arbitrable payment front

Home Page: https://escrow.kleros.io

License: MIT License

JavaScript 87.96% HTML 1.57% CSS 10.47%
ethereum blockchain dapp arbitration chargeback-service escrow frontend

arbitrable-payment-front's Introduction

Kleros

JavaScript Style Guide Tested with Truffle Conventional Commits Commitizen Friendly Styled with Prettier

Kleros core smart contracts.

Get Started

  1. Clone this repo.
  2. Run yarn to install dependencies and then yarn run build to compile the contracts.

Scripts

  • yarn run prettify - Apply prettier to the entire project.
  • yarn run lint:sol - Lint the entire project's .sol files.
  • yarn run lint:js - Lint the entire project's .js files.
  • yarn run lint:sol --fix - Fix fixable linting errors in .sol files.
  • yarn run lint:js --fix - Fix fixable linting errors in .js files.
  • yarn run lint - Lint the entire project's .sol and .js files.
  • yarn test - Run the truffle tests.
  • yarn run cz - Run commitizen.
  • yarn run build - Compile contracts.

Contributing

See CONTRIBUTING.md.

Learn how to develop arbitrable and arbitrator contracts here.

arbitrable-payment-front's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arbitrable-payment-front's Issues

fix tests

Some tests failed when I run yarn test

Fix submission in the description part

The description step does not show arrows to click on. Moreover, enter automatically submit it.
We need to have a clickable button and enter should not submit in this field as it's a multi-line field.
See:
descriptionuximprovment

see profile

  • set the default email (change API)
  • see the eth balance
  • nb disputes active/close
  • display/hide contracts finished on the home page (history)

api (serverless) to publish some files (contract file, evidences)

POST (json) contract/{arbitrable-contract-eth-address}/arbitrable-transaction/{arbitrable-transation-id}/evidences

{
  "format": "",
  "data": ""
}

By convention, the first evidence (id: 0) is the metaEvidence.fileURI.
Format of the file: binary, txt, json...

GET (json) contract/{arbitrable-contract-eth-address}/arbitrable-transaction/{arbitrable-transation-id}/evidences

Get all evidences.

[
  {
    "format": "",
    "data": ""
  },
...
]

rest api (serverless) specifications to store the metaevidence

POST (json) contract/{arbitrable-contract-eth-address}/arbitrable-transaction/{arbitrable-transation-id}/meta-evidence

{
  "title": "the title of the arbitrable transaction",
  "description": "the description of the arbitrable transaction",
  "fileURI": "link to the contract"
}

GET (json) contract/{arbitrable-contract-eth-address}/arbitrable-transaction/{arbitrable-transation-id}/meta-evidence

{

  "title": "the title of the arbitrable transaction",
  "description": "the description of the arbitrable transaction",
  "fileURI": "link to the contract"
}

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.