0.1.9 • Published 6 years ago

react-iota v0.1.9

Weekly downloads
42
License
-
Repository
github
Last release
6 years ago

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.