Socket
Book a DemoInstallSign in
Socket

@faircrypto/xen-stake

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@faircrypto/xen-stake

XEN Proof-of-Stake XENFT

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
15
36.36%
Maintainers
2
Weekly downloads
 
Created
Source

XEN Stake NFT // Proof-of-Stake XENFT

XEN Stake is yet another part in XEN Crypto ecosystem. It allows a user to create a special version of XEN Crypto stake, which:

  • Is locked (non-redeemable) until the maturity is reached
  • Is transferable* to any other user's wallet

Similarly to ordinary XEN Crypto stake, PoS XENFT could be redeemed without any penalty at any time after the maturity is reached.

NB*: there's a blackout period -7/+7 days around maturity time during which transfers are prohibited. This is a safety precaution to prevent possible price manipulation on external exchanges.

Installation

npm install

Tests

npm run test

Code Style

https://docs.soliditylang.org/en/latest/style-guide.html

Check code lint

npm run lint

Fix code lint

npm run lint:fix

Git Hook

This project uses Husky to run git hooks. The pre-commit hook runs lint-staged to run code lint checking and code formatting before committing.

Install Husky hooks

npm run husky:install

Forwarder

Reference forwarder implementation from OpenGSN: https://github.com/opengsn/gsn/blob/master/packages/contracts/src/forwarder/Forwarder.sol

Keywords

Fair Crypto Foundation

FAQs

Package last updated on 17 Nov 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