open-index/open-npm huggingface dataset:
npm package: @omisego/omg-js-utxo-merge
Description: A helper lib for merging utxos
Author: Kevin Sullivan
Latest version: 1.0.1

# omg-js-utxo-merge

A helper lib for merging utxos

## Usage example

```

const ChildChain = require('@omisego/omg-js-childchain')
const merge = require('@omisego/omg-js-utxo-merge')

const ADDRESS = 'my address'
const PRIVATE_KEY = 'my private key'

const childChain = new ChildChain('http://watcher.ari.omg.network/')

function signTransaction (unsignedTx, numUtxos, address) {
  const privateKeys = new Array(numUtxos).fill(PRIVATE_KEY)
  const signatures = childChain.signTransaction(unsignedTx, privateKeys)
  return childChain.buildSignedTransaction(unsignedTx, signatures)
}

function submitTransaction (signedTx) {
  return childChain.submitTransaction(signedTx)
}

childChain.getUtxos(ADDRESS)
  .then(utxos => merge(utxos, ADDRESS, signTransaction, submitTransaction))


```
npm package: @omisego/omg-quasar-js
Description: JavaScript Library to interact with OMG Network's Quasar
Author: OMG Network
Latest version: 1.0.1

# omg-quasar-js

This is a JavaScript Library to interact with OMG Network's Quasar

## Installation

```
npm install @omisego/omg-quasar-js
```

## Usage

```
const Quasar = require('@omisego/omg-quasar-js');

const quasar = new Quasar({
      web3, 
      quasarContractAddress: quasar_contract_address,
  });
```