3.5.2 • Published 6 months ago

edge-currency-plugins v3.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Edge Currency Plugin for UTXO-Based currencies

Plugins for edge-core-js, to support various cryptocurrencies such as bitcoin, bitcoin cash, and litecoin,

Installing

First, add this library to your project:

npm i -s edge-currency-plugins

Node.js

For Node.js, you should call addEdgeCorePlugins to register these plugins with edge-core-js:

const { addEdgeCorePlugins, lockEdgeCorePlugins } = require("edge-core-js");
const plugins = require("edge-currency-plugins");

addEdgeCorePlugins(plugins);

// Once you are done adding plugins, call this:
lockEdgeCorePlugins();

You can also add plugins individually if you want to be more picky:

addEdgeCorePlugins({
  bitcoin: plugins.bitcoin,
});

Browser

The bundle located in dist/edge-currency-plugins.js will automatically register itself with edge-core-js. Just serve the entire dist directory along with your app, and then load the script:

<script src='https://example.com/app/dist/edge-currency-plugins.js'>

If you want to debug this project, run yarn start to start a Webpack server, and then adjust your script URL to http://localhost:8084/edge-currency-plugins.js.

React Native

The edge-currency-plugins package will automatically install itself using React Native autolinking. To integrate the plugins with edge-core-js, add its URI to the context component:

import { pluginUri, makePluginIo } from "edge-currency-plugins";
<MakeEdgeContext
  nativeIo={{
    "edge-currency-plugins": makePluginIo(),
  }}
  pluginUris={[pluginUri]}
  // Plus other props as required...
/>;

To debug this project, run yarn start to start a Webpack server, and then use debugUri instead of pluginUri.

How to Contribute

Contributions are welcome and appreciated. Please reference these guides for specific contribution information:

Additionally, any issues or bugs found can be reported by opening a issue on GitHub.

3.5.2

6 months ago

3.5.1

7 months ago

3.5.0

7 months ago

3.4.5

8 months ago

3.4.4

9 months ago

3.4.3

10 months ago

3.4.0

11 months ago

3.4.2

10 months ago

3.4.1

10 months ago

3.3.1

12 months ago

3.3.2

11 months ago

3.3.0

12 months ago

3.2.1

1 year ago

3.2.0

1 year ago

3.1.0

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.6.2

1 year ago

2.6.1

1 year ago

2.6.0

1 year ago

2.5.4

2 years ago

2.5.2

2 years ago

2.5.3

2 years ago

2.5.0

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.5.1

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.1.1

2 years ago

2.2.0

2 years ago

2.0.3

2 years ago

2.0.4

2 years ago

2.1.0

2 years ago

2.0.2

2 years ago

1.3.7

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.2.3

3 years ago

1.3.1

3 years ago

1.2.2

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.2.1

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.0.0-rc.6

3 years ago

1.0.0-rc.5

3 years ago

1.0.0-rc.4

3 years ago

1.0.0-rc.3

3 years ago

1.0.0-rc.2

3 years ago

1.0.0-rc.1

3 years ago