open-index/open-npm huggingface dataset:
npm package: @lumerin/contracts
Description: Web3 Contracts for Lumerin Token
Author: Kodee McIntosh
Latest version: 1.0.7-beta

<h1>
  <img src="./logo.svg" alt="Lumerin Contracts JS" width="20%">
</h1>

🔌  [Web3](https://github.com/ethereum/web3.js) Contracts for [Lumerin Token](http://lumerin.io) ready to be used.

<!-- [![Build Status](https://travis-ci.org/autonomoussoftware/lumerin-contracts-js.svg?branch=master)](https://travis-ci.org/autonomoussoftware/lumerin-contracts-js)
[![Code Style](https://img.shields.io/badge/code%20style-bloq-0063a6.svg)](https://github.com/bloq/eslint-config-bloq)
[![Known Vulnerabilities](https://snyk.io/test/github/autonomoussoftware/lumerin-contracts-js/badge.svg?targetFile=package.json)](https://snyk.io/test/github/autonomoussoftware/lumerin-contracts-js) [![Greenkeeper badge](https://badges.greenkeeper.io/autonomoussoftware/lumerin-contracts-js.svg)](https://greenkeeper.io/) -->

## Install

```shell
npm install --save @lumerin/contracts
```

## Usage

```js
const Web3 = require('web3')
const LumerinContracts = require('@lumerin/contracts')

const web3 = new Web3('http://localhost:8545')
const lumerinContracts = new LumerinContracts(web3, 'mainnet')

lumerinContracts.Lumerin.methods.balanceOf(address).call().then(console.log)
```

## API

### `LumerinContracts(web3, chain)`

Constructor for the Lumerin contracts object.
It shall receive a `web3` instance and an optional `chain` parameter that default to `'mainnet'`.
<!-- Other supported chains are: `'classic'`, `'ropsten'` and `'mordor'`. -->
Other supported chains are: `'ropsten'`.
Numeric chain IDs can also be used.

### `LumerinContracts.{contractName}`

The instance of the Lumerin contracts will have a property for each contract: `CloneFactory`, `Implementation` and `Lumerin`.
Each contract is an instance of `web3.eth.Contract`.

### `LumerinContracts.{chain}.{contractName}`

This is a convenience object containing the `abi`, `address` and the `birthblock` (The block that the contract was deployed in) of the contract on the specified chain.

## Contracts API
### TODO - update links when docs are finalized

  - [`Lumerin (token)`](https://github.com/Lumerin-protocol/lumerin-overview/blob/main/docs/00-overview.md)
  - [`CloneFactory`](https://github.com/Lumerin-protocol/lumerin-overview/blob/main/docs/00-overview.md)
  - [`Implementation`](https://github.com/Lumerin-protocol/lumerin-overview/blob/main/docs/00-overview.md)

## License

MIT
npm package: @lumerin/wallet-core
Description: Core logic to develop a Lumerin wallet
Author: Kodee McIntosh
Latest version: 1.0.7-beta

<h1>
  <img src="./logo.svg" alt="Lumerin Wallet Core Library" width="20%">
</h1>
# lumerin-wallet-core

<!-- [![Greenkeeper badge](https://badges.greenkeeper.io/TitanInd/lumerin-wallet-core.svg)](https://greenkeeper.io/) -->

Core logic to develop an Ethereum Lumerin wallet.

The core logic has a modular design where each module or plugin can emit events and expose methods to other plugins or the code client.

## Quick start

Minimum Node version required is v12, v14 is recommended

```js
const createCore = require('lumerin-wallet-core');

const core = createCore();

const { api, emitter, events } = core.start();

// Listen for `events` on the `emitter`.
// Call `api` methods

core.stop();
```

## API

- `createCore()`: Creates a wallet core instance.

- `core.start({ config })`: Initializes the core logic. Returns an object containing the exposed methods in `api`, an `emitter` to expose events and the list of emitted events in the `events` array. See below for details.

- `core.stop()`: stops everything.

### Config

The configuration object has default properties as defined in `src/defaultConfig.json`.

### Plugins (modules)

All plugins must follow this pattern:

```js
function createPlugin () {
  return {
    start ({ config, eventBus, plugins }) {
      // Initialize
      return { events, name, api }
    },
    stop () {
      // Clean up
    }
  }
}
```

The `start` method will receive the core `config`, an `eventBus` emitter and an object containing all the other plugin's exposed methods.
The return object shall contain a list of `events` that might be interesting to the core's user, the `name` of the plugin and an object containing all `api` methods exposed.

The `eventBus` is the same instance as `core.start().emitter`.
All methods exposed by all plugins will be available to all other plugins and namespaced `core.start().api` using the `name` property.

The following plugins are bundled:

- `eth`: Provides connectivity with the Ethereum node.
- `explorer`: Provides notifications and keeps track of new blocks, transactions and events.
- `lumerin`: Provides Lumerin-specific functionality as interacting with the auctions, converter and token contracts.
- `rates`: Provides crypto-to-fiat exchange rates.
- `tokens`: Provides base ERC20 token functions.
- `wallet`: Provides base key/account management

## License

MIT
npm package: @lumeweb/bigint-crypto-utils
Description: Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
Author: Juan Hernández Serrano
Latest version: 1.0.0
Deprecated: This package is deprecated and no longer maintained. Please see @lumeweb for alternatives.

ERROR: No README data found!