open-index/open-npm huggingface dataset:
npm package: @0xdoublesharp/sloth-vdf
Description: Sloth Verifiable Delay Function for Javascript and Solidity 0.8
Author: @0xDoubleSharp
Latest version: 0.0.2

# Sloth Verifiable Delay Function

<p align="center">
  <img src="https://raw.githubusercontent.com/doublesharp/sloth-vdf/main/sloth.svg" height="50"/>
</p>

This module implements the Sloth VDF algorithm in JavaScript, TypeScript, and Soldity 0.8 for generating provable random numbers.

## Install

```shell
npm install -D @0xdoublesharp/sloth-vdf
```

```shell
yarn add -D @0xdoublesharp/sloth-vdf
```

## Solidity

```ts
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import { SlothVDF } from '@0xdoublesharp/sloth-vdf/contracts/SlothVDF.sol';

contract RandomVDFv1 {
  // large prime
  uint256 public prime = 432211379112113246928842014508850435796007;
  // adjust for block finality
  uint256 public iterations = 1000;
  // increment nonce to increase entropy
  uint256 private nonce;
  // address -> vdf seed
  mapping(address => uint256) public seeds;

  uint256 public proof;

  error InvalidProof();
  error AlreadyProven();

  function createSeed() external payable {
    // commit funds/tokens/etc here
    // create a pseudo random seed as the input
    uint256 _nonce = nonce++;
    seeds[msg.sender] = uint256(
      keccak256(abi.encodePacked(msg.sender, _nonce, block.timestamp, blockhash(block.number - 1)))
    );
  }

  function prove(uint256 _proof) external {
    if (proof != 0) revert AlreadyProven();
    if (!SlothVDF.verify(_proof, seeds[msg.sender], prime, iterations)) revert InvalidProof();

    // use the proof as a provable random number
    proof = _proof;
  }
}
```

### JavaScript / TypeScript

```ts
describe('Sloth VDF', () => {
  it('Prove', async () => {
    const { sender, randomVDFv1 } = await loadFixture(fixtures);

    const prime = BigInt((await randomVDFv1.prime()).toString());
    const iterations = BigInt((await randomVDFv1.iterations()).toNumber());
    console.log('prime', prime.toString());
    console.log('iterations', iterations.toString());

    const tx = await randomVDFv1.createSeed();
    await tx.wait();

    const seed = BigInt((await randomVDFv1.seeds(sender.address)).toString());
    console.log('seed', seed.toString());

    let start = Date.now();
    const badproof = sloth.computeBeacon(seed, prime, BigInt(1));
    console.log('compute time', Date.now() - start, 'ms', 'bad proof', badproof);
    start = Date.now();
    const proof = sloth.computeBeacon(seed, prime, iterations);
    console.log('compute time', Date.now() - start, 'ms', 'vdf proof', proof);

    await expect(randomVDFv1.prove(badproof)).to.be.revertedWithCustomError(randomVDFv1, 'InvalidProof');
    await expect(randomVDFv1.prove(proof)).to.not.be.reverted;
    await expect(randomVDFv1.prove(proof)).to.be.revertedWithCustomError(randomVDFv1, 'AlreadyProven');
  });
});
```
npm package: @0xdya/artime
Description: Arabic relative time library — مكتبة الوقت النسبي بالعربية
Author: 0xdya
Latest version: 1.0.2

# ArTime

مكتبة بسيطة لتحويل التواريخ إلى صيغة "منذ..." بالعربية، مع دعم التصريف الصحيح للأعداد.

---


## الاستخدام
ضع في نهاية head او نهاية body هذا
```html
<script src="https://cdn.jsdelivr.net/gh/0xdya/ArTime@latest/dist/artime.js"></script>
```

ثم الاستعمال يكون
```html
<!-- طريقة 1: data-date (يبقى العنصر فارغاً أو بأي نص) -->
<span class="time_ago" data-date="2025-01-15T10:00:00"></span>

<!-- طريقة 2: التاريخ مباشرة في النص -->
<span class="time_ago">2025-01-15T10:00:00</span
```
npm package: @0xelod/sdk-core
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 4.2.1-beta

# Uniswap SDK Core

[![Unit Tests](https://github.com/Uniswap/uniswap-sdk-core/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-sdk-core/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk-core/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk-core/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk-core/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk-core@latest)

This code is shared across Uniswap TypeScript SDKs.
npm package: @0xelod/v3-sdk
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 3.11.0

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap V3 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://docs.uniswap.org/).
npm package: @0xfireworks/arc-raiders-build-helper
Description: A comprehensive helper utility for Arc Raiders players to plan their builds and skill trees. Official site: https://arcskilltree.net/
Author: Deep Sea
Latest version: 1.1.0

# Arc Raiders Build Helper

![Arc Raiders Tooling](https://img.shields.io/badge/Focus-Arc%20Raiders-blue)
![Official Site](https://img.shields.io/badge/Official-Site-brightgreen)

A lightweight utility for **Arc Raiders** enthusiasts to calculate level progression and validate character builds. 

## 🚀 Key Features
- **XP Calculator**: Estimate the experience required for your next level up.
- **Build Validation**: Ensure your skill point distribution is within limits.
- **SEO Ready**: Optimized for game-specific search queries.

## 🔗 Official Resource
For the most advanced interactive skill tree and character planner, visit our main project:
👉 **[Arc Raiders Skill Tree (Official Site)](https://arcskilltree.net/)**

## Quick Start
`npm install @0xfireworks/arc-raiders-build-helper`

```javascript
const helper = require('@0xfireworks/arc-raiders-build-helper');
const xpNeeded = helper.calculateRequiredXP(1, 20);
console.log(`XP needed for Level 20: ${xpNeeded}`);
console.log(helper.getOfficialTool());
```