Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ecosis/nomics

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecosis/nomics

ecosis reward-system plugin for Nomics and Lisk

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@ecosis/nomics

ecosis reward-system plugin for Nomics and Lisk

Usage

Dedicated

import { Nomics } from "@ecosis/nomics";

const nomics = await new Nomics({
  node: this.config.node,
  port: this.config.port,
  name: this.config.name,
  rewardPeriod: this.config.period, // 7*24*60*60*1000, // A Week
  secret: ''
})

await this.nomics.reward()

Nomics and Lisk injection

More coming soon

// src/app/plugins.ts

import { Application } from 'lisk-sdk';
import { NomicsPlugin } from "@ecosis/nomics";

// @ts-expect-error Unused variable error happens here until at least one module is registered
export const registerPlugins = (app: Application): void => {
  app.registerPlugin(NomicsPlugin);
};

FAQs

Package last updated on 25 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc