# @velocitycareerlabs/metadata-registration

> Package allows interacting with the smart contracts, based on ethers.js

Latest version **1.26.8** (published 2025-07-09) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @velocitycareerlabs/metadata-registration
pnpm add @velocitycareerlabs/metadata-registration
yarn add @velocitycareerlabs/metadata-registration
bun add @velocitycareerlabs/metadata-registration
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.26.8 |
| Published | 2025-07-09 |
| First published | 2023-11-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 3.7 MB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Ivan Vodzich |
| Maintainers | velocitycareerlabs |

## Links

- npm: https://www.npmjs.com/package/@velocitycareerlabs/metadata-registration
- Repository: https://github.com/velocitycareerlabs/velocitycore
- npm.io page: https://npm.io/package/@velocitycareerlabs/metadata-registration

## Dependencies (8)

- [lodash](https://npm.io/package/lodash.md) 4.17.21
- [eth-url-parser](https://npm.io/package/eth-url-parser.md) 1.0.4
- [@velocitycareerlabs/jwt](https://npm.io/package/@velocitycareerlabs/jwt.md) 1.26.8
- [@velocitycareerlabs/crypto](https://npm.io/package/@velocitycareerlabs/crypto.md) 1.26.8
- [@velocitycareerlabs/base-contract-io](https://npm.io/package/@velocitycareerlabs/base-contract-io.md) 1.26.8
- [@velocitycareerlabs/common-functions](https://npm.io/package/@velocitycareerlabs/common-functions.md) 1.26.8
- [@velocitycareerlabs/blockchain-functions](https://npm.io/package/@velocitycareerlabs/blockchain-functions.md) 1.26.8
- [@velocitycareerlabs/contract-permissions](https://npm.io/package/@velocitycareerlabs/contract-permissions.md) 1.26.8

## Recent versions

- 1.26.8 (latest) — 2025-07-09
- 2.0.0-pre.1755033769 (prerelease) — 2025-08-12
- 2.0.0-pre.1754876579 — 2025-08-11
- 2.0.0-pre.1754876532 — 2025-08-11
- 2.0.0-pre.1754876520 — 2025-08-11
- 2.0.0-pre.1754862919 — 2025-08-10
- 2.0.0-pre.1754862807 — 2025-08-10
- 2.0.0-pre.1754256666 — 2025-08-03
- 2.0.0-pre.1754256489 — 2025-08-03
- 2.0.0-pre.1754256474 — 2025-08-03
- 2.0.0-pre.1754256407 — 2025-08-03
- 2.0.0-pre.1753312440 — 2025-07-23
- 2.0.0-pre.1753230551 — 2025-07-23
- 2.0.0-pre.1753229761 — 2025-07-23
- 2.0.0-pre.1753229590 — 2025-07-23
- … 1150 more at https://npm.io/package/@velocitycareerlabs/metadata-registration/versions

## README

Example of the usage on your localhost with the blockchain-dev container.

```
const { generateKeyPair } = require('@velocitycareerlabs/crypto');
const ethers = require('ethers');
/* eslint-disable no-console */
const { initRevocationRegistry } = require('../index');

const { privateKey } = generateKeyPair();
const wallet = new ethers.Wallet(privateKey);
const contractAddress = '0xf755e1ca66be12f177178e7ea696969e0a55bb64';
const gasLimit = 470000;

const revocationRegistry = initRevocationRegistry({
  privateKey,
  contractAddress,
  rpcUrl: 'http://localhost:8545',
  gasLimit,
});

(async () => {
  const listId = 42;
  const index = 24;
  try {
    await revocationRegistry.addWallet();
    await revocationRegistry.addRevocationList(listId);
    const initialStatus = await revocationRegistry.getRevokedStatus(
      `ethereum:${contractAddress}/getRevokedStatus?address=${wallet.address}&listId=${listId}&index=${index}`
    );
    console.info('initialStatus', initialStatus);
    await revocationRegistry.setRevokedStatus(listId, index);
    const updatedStatus = await revocationRegistry.getRevokedStatus(
      `ethereum:${contractAddress}/getRevokedStatus?address=${wallet.address}&listId=${listId}&index=${index}`
    );
    console.info('updatedStatus', updatedStatus);
  } catch (error) {
    console.error('Revocation Registry Error', error);
  }
})();

```

Output: 
```
initialStatus 0
updatedStatus 1
```

---
_Source: https://npm.io/package/@velocitycareerlabs/metadata-registration · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
