npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@inbloxme/inblox-handlename-package

v1.0.4

Published

Package for interacting with the Inblox Handlename Smart Contracts.

Downloads

4

Readme

Inblox Handlename Package

This package is used to interact with Inblox smart contracts. Registered Registrars can use this package to set and update handlename for the user.

Disclaimer - This is WIP, and release in alpha.

Installation and Usage

Installation

Install the package by running the command,

npm install @inbloxme/inblox-handlename-package

Import the package into your project using,

const inbloxHandlename = require('@inbloxme/inblox-handlename-package').InbloxHandlename;

Initialising

Initialise the constructor using your Infura secret key or RPC URL like this,

const handlename = new inbloxHandlename('YOUR_INFURA_KEY' or 'RPC URL');

Set Handlename using

const setHandlename = await handlename.setHandlename({ userAddress, handleName, from, privateKey });

List of all functions

Set Handlename


  • setHandlename()

Inputs

userAddress - Address of the user. handleName - Handlename to be set. from - Address of the registrar. privateKey - Private Key of the registrar.

Output

Transaction details.

Update Handlename


  • updateHandlename()

Inputs

userAddress - Address of the user. newHandleName - New Handlename to be set. from - Address of the registrar. privateKey - Private Key of the registrar.

Output

Transaction details.

Check if Handlename registration is paused,


  • isHandlenameRegistrationPaused()

Inputs

No inputs.

Output

If registration is paused - Handlename registration is paused. If registration is not paused - Handlename registration is not paused.

Handlename update count


  • handlenameUpdateCount()

Input

address - Address of the user to check the handlename update count.

Output

update count If invalid or wrong address - Invalid address.

Retrieve the handlename of a particular address


  • resolveHandleNameFromAddress()

Input

userAddress - Address of the user to get the handlename.

Output

Handlename of the user If invalid or wrong address - Invalid address.

Retrieve the address of a particular handlename


  • resolveAddressFromHandleName()

Input

handlename - Handlename of the user to get the address.

Output

Address of the user.

Get the current handlename registration fees


  • handlenameFees()

Output

Handlename registration fees.

WIP

Want to contribute, we would :heart: that!

We are a Global :earth_asia::earth_africa::earth_americas: team! :muscle:

Write to [email protected], or follow us on twitter, https://twitter.com/inblox_me