Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
node_modules
.babelrc
.gitignore
.watchmanconfig
App.js
README.md
app.json
package-lock.json
package.json
shim.js
yarn-error.log
yarn.lock

README.md

Example Project using eosjs2 and eosjs-ecc on React Native to sign and broadcast transactions. Works on IOS and Android.

Using rn-nodeify to enable usage of node libraries.

  1. yarn add polyfill-crypto.getrandomvalues react-native-crypto stream text-encoding
  2. Follow setup instructions in rn-nodeify

Adjustments to node_modules

  1. In randombytes/browser.js, Line 8 is changed to: var crypto = { getRandomValues: require('polyfill-crypto.getrandomvalues') }
  2. In eosjs2/dist/eosjs2-serialize.js add require("text-encoding") on line 30.
You can’t perform that action at this time.