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
- Host: GitHub
- URL: https://github.com/edgeapp/edge-currency-ethereum
- Owner: EdgeApp
- License: bsd-3-clause
- Created: 2017-07-01T06:51:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T22:28:11.000Z (over 2 years ago)
- Last Synced: 2025-03-18T19:49:15.623Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://edge.app
- Size: 1.1 MB
- Stars: 5
- Watchers: 14
- Forks: 10
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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]
[](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