1.0.6 • Published 4 years ago

@robinthomas/react-erasure v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

React Erasure

npm.io License

Table of Contents

  1. Introduction
  2. Features
  3. Components

Introduction

React Erasure is react components library that helps to quickly bootstrap a dapp on Erasure, by accelerating dapp development by abstracting away the complexity.

Libary can be installed by,

$ npm install @robinthomas/react-erasure

Features

  • Supports Erasure protocol version v1.1.0
  • Supports Ethereum mainnet and Rinkeby networks
  • Provides various React components
    • Login
    • Feed
    • Post
    • Reveal Post
    • Stake
    • Punish
    • Reward
    • Release Stake
    • Retrieve Stake

Components

Login
  • To setup the Metamask provider and permissions
Feed
  • create a new feed
Post
  • create a new post
  • select one of the feeds detected in this account, to which the post can be added
  • progress bar for uploading raw data
Reveal Post
  • select a feed
  • select a post under that feed and then reveal it
Stake
  • create a new countdown griefing agreement
Punish
  • select one of the griefing auto-detected
  • punish the staker (in NMR)
  • add a punishment message
Reward
  • select one of the griefing auto-detected
  • reward the staker (in NMR)
Release Stake
  • select one of the griefing auto-detected
  • release some stake to the staker (in NMR)
Retrieve Stake
  • select one of the griefing auto-detected
  • release some stake to the staker (in NMR)
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago