kleros / escrow-react Goto Github PK
View Code? Open in Web Editor NEWKleros Escrow React Library
Kleros Escrow React Library
Add the Pending Transaction and Transaction Complete notifications. Alternatively we can leave this up to the sellers website as they get a callback when a transaction is submitted.
The widget requires a significant number of inputs. Some full length documentation needs to be written to explain what they all do, what is optional and what is not.
The component takes currency
as an input but there is no logic to route it to the ERC20 contract instead of the normal arbitrable contract. Will need to get address from T2CR and throw an error if a token ticker is used that is not in the list. Alternatively you can have seller pass a contract address in addition to the ticker and bypass using the T2CR
Sellers need to be notified when a transaction is submitted and also become subscribed to the escrow notifications.
Line 86 in 4394ff4
The view for raising a dispute needs to be created.
Can be seen here: https://www.figma.com/file/b7DEUKDeHlOl4ocDTMv7UIhZ/Kleros?node-id=7790%3A43446
The buyer needs to register their emails for Escrow notifications. Use similar notification signup flow as we have with other DApps.
Upon submission of the transaction MetaEvidence should be generated and included in the transaction. Can use same MetaEvidence as is used with escrow.
Evidence display interface can be found here: https://github.com/kleros/escrow-evidence-display
Line 71 in 4394ff4
Escrow email notifications haven't been functional for some time. Handlers already exist for them so they probably just need to be debugged.
https://github.com/kleros/event-microservices/blob/develop/src/event-handlers/escrow-emails.js
Not in figma.
After a dispute has been raised a component should be made available that links to the escrow interface. Alternatively the RaiseDisputeModal component can become a link after the dispute has been created.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.