An open API service indexing awesome lists of open source software.

https://github.com/edgeapp/edge-currency-ethereum

Ethereum TxLibrary plugin for edge-core-js
https://github.com/edgeapp/edge-currency-ethereum

Last synced: 9 months ago
JSON representation

Ethereum TxLibrary plugin for edge-core-js

Awesome Lists containing this project

README

          

# Edge Ethereum Currency Plugin
[![Build Status][travis-image]][travis-url] [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url]

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

Implements Bitcoin send/receive functionality per the spec for crypto currency plugins for [airbitz-core-js](https://github.com/Airbitz/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

[npm-image]: https://badge.fury.io/js/edge-currency-ethereum.svg
[npm-url]: https://npmjs.org/package/edge-currency-ethereum
[travis-image]: https://travis-ci.org/Airbitz/edge-currency-ethereum.svg?branch=master
[travis-url]: https://travis-ci.org/Airbitz/edge-currency-ethereum
[daviddm-image]: https://david-dm.org/Airbitz/edge-currency-ethereum.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/Airbitz/edge-currency-ethereum