react-iota

0.1.9 • Public • Published

react-iota

React component for interacting with the iota protocol.

npm i --save react-iota

react-iota is implemented as a higher-order component that passes state and actions down to its child. In the package you will find a default development wallet that you can use to make simple transactions on the testnet tangle.

import {IotaProvider, Wallet, Curl} from "react-iota"
 
class App extends Component {
  render(){
    return (<IotaProvider>
      <Wallet />
    </IotaProvider>)
  }
}

You can replace the <Wallet /> component with your own wallet UI, and let the <IotaProvider /> do all the work of interacting with the tangle.

/react-iota/

    Package Sidebar

    Install

    npm i react-iota

    Weekly Downloads

    5

    Version

    0.1.9

    License

    none

    Unpacked Size

    8.65 MB

    Total Files

    11

    Last publish

    Collaborators

    • evanfeenstra