0.2.3 • Published 5 years ago

react-eth v0.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

react-eth

Important: This package is currently on development

Build status

Build Status

The goal of this package is to help developers to easily create react forms from smart-contracts ABI.

Live demo

https://cryptol0g1c.github.io/react-eth/

The live demo uses Bootstrap. But feel free to give your own styling.

Usage

import ReactEth from 'react-eth';

const abi = {
  "constant": false,
  "inputs": [
    {
      "name": "spender",
      "type": "address"
    },
    {
      "name": "value",
      "type": "uint256"
    }
  ],
  "name": "approve",
  "outputs": [
    {
      "name": "",
      "type": "bool"
    }
  ],
  "payable": false,
  "stateMutability": "nonpayable",
  "type": "function"
};

<ReactEth abi={abi}>

Props

  • abi: json.
  • className: string.
  • onChange: function.
  • onSubmit: function.

Examples

0.2.3

5 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago