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 🙏

© 2026 – Pkg Stats / Ryan Hefner

artkdev-registration

v2.1.0

Published

The main idea of the ArtKDev-Registration contracts is to introduce an automation to the SignUp registration process.

Readme

Registration

The main idea of the ArtKDev-Registration contracts is to introduce an automation to the SignUp registration process.

Navigation

Installation

npm install

Testing

truffle run coverage

Deploy

truffle dashboard
truffle migrate --network dashboard

Admin settings

Setting a new fee amount for registering pool

If you want to set a new fee amount for registering a new pool, you should use a SetFeeAmout() function.

    function SetFeeAmount(uint256 _amount) public;

Testnet tx: link

Setting a new fee token for registering pool

If you want to set a new fee for registering a new pool as a token, you should use a SetFeeToken() function.

function SetFeeToken(address _token) public;

Testnet tx: link

Pool owner settings

Registering a new pool

First of all, you should define the info keys, which users will have to fill with values. In addition, you have to pay a fee, which admin set for creation a new registration pool. Likewise, you can set a fee for registering a new SignUp by user. You should use the CreateNewPool() function to create a new registration pool.

    function CreateNewPool(
        address _token,
        uint256 _fee,
        string[] memory _keys
    ) external payable

Testnet tx: link

Setting a register fee

You should use the SetRegisterFee() function to set a new SignUp fee. If you want to set a register fee token you need to specify a token address otherwise set it a zero address.

    function SetRegisterFee(
        uint256 _poolId,
        address _token,
        uint256 _price
    ) public;

Testnet tx: link

Deactivating a pool

If you deactivate a pool, users won't be able to sign up. To do this, you should use a DeactivatePool() function.

    function DeactivatePool(uint256 _poolId) external;

Testnet tx: link

Activating a pool

If you activate a pool, users will be able to sign up again. To do this, you should use a ActivatePool() function.

    function ActivatePool(uint256 _poolId) external;

Testnet tx: link

User settings

Signing up

Firstly, you need to specify a pool id and values, that will be filled in to the keys. Actually, you need to pay a fee, that pool owner defined for a new SignUp. After that you should use the SignUp() function to register a new SignUp.

    function SignUp(uint256 _poolId, string[] memory _values) external payable;

Testnet tx: link

Getting my pools' ids

Find all of your pool IDs.

    function GetMyPoolIds() external view returns (uint256[] memory);

Getting my SignUps' ids

Find all of your SignUp IDs.

    function GetAllMySignUpIds(uint256 _poolId)
        external
        view
        returns (uint256[] memory);

Getting a pool's sign up fee

Find a pool's signUp fee.

    function GetPoolSignUpFee(uint256 _poolId)
        external
        view
        returns (uint256 fee, address feeToken)
    {

License

ArtKDev Contracts is released under the MIT License.