Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including edge-currency-ethereum with all npm packages installed. Try it out:

var edgeCurrencyEthereum = require("edge-currency-ethereum")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

edge-currency-ethereum v0.11.2

Edge Ethereum currency plugin

Edge Ethereum Currency Plugin

Build Status NPM version Dependency Status

js-standard-style

Implements Bitcoin send/receive functionality per the spec for crypto currency plugins for airbitz-core-js

Installing

npm i edge-currency-ethereum -s
import { ethereumCurrencyPluginFactory } from `edge-currency-ethereum`

Now you can pass ethereumCurrencyPluginFactory to edge-core-js.

const context = makeEdgeContext({
  apiKey: YOUR_API_KEY,
  plugins: [ ethereumCurrencyPluginFactory ]
})

Contributing

You'll need to install Yarn 1.3.2 globally on your machine

To run a local version of this repo inside the full Edge Wallet app, clone this repo at the same level as edge-react-gui

git clone git@github.com:Airbitz/edge-currency-ethereum.git`
cd edge-currency-ethereum
yarn

Run npm run test to run the unit tests.

To use the local cloned version of this repo, cd edge-react-gui and run

npm run updot edge-currency-ethereum
npm run postinstall

This will copy the necessary files from edge-currency-ethereum into the edge-react-gui/node_modules/edge-currency-ethereum replacing the npm installed version. This needs to be done after any modifications to edge-currency-ethereum

License

BSD 3

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free