react-wyre
Install
npm install react-wyre
Getting started
Component { superprops thisstate = open: false } { return <Wyre config= env: 'test' accountId: 'AC-BAAA2222' auth: type: 'secretKey' secretKey: '6a6f7f9187f766f66938638f1afd79b20fb5989e2837e6f989' operation: type: 'debitcard' destCurrency: 'ETH' destAmount: 001 dest: '0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1' style: primaryColor: '#0055ff' onReady= console onClose= console onComplete= console open=thisstateopen> <button onClick= this> Buy ETH </button> </Wyre> }
Please read the Wyre documentation for the configuration options.
Development
npm installnpm run buildnpm run lint