open-index/open-npm huggingface dataset:
npm package: @fuel-contracts/merkle-sol
Description: The Solidity implemention of the Merkle trees used in Fuel v2.
Latest version: 0.1.4

# Fuel Solidity Merkle Trees

<!-- Disable markdownlint for long lines. -->
<!-- markdownlint-disable-file MD013 -->

![ci](https://github.com/fuellabs/fuel-v2-contracts/workflows/Node.js%20Tests%20and%20Coverage/badge.svg?branch=master)
[![NPM Package](https://img.shields.io/npm/v/fuel-merkle-sol)](https://www.npmjs.org/package/fuel-merkle-sol)

A Solidity implementation of a binary Merkle tree (specifically, a Merkle Mountain Range), a sparse Merkle tree, and a Merkle sum tree.

## Building From Source

### Dependencies

| dep     | version                                                  |
| ------- | -------------------------------------------------------- |
| Node.js | [>=v14.0.0](https://nodejs.org/en/blog/release/v14.0.0/) |

### Building

Install dependencies:

```sh
npm ci
```

Build and run tests:

```sh
npm run build
npm test
```

## Contributing

Code must be formatted and linted.

```sh
npm run format
npm run lint
```

## License

The primary license for this repo is `Apache-2.0`, see [`LICENSE`](./LICENSE).
npm package: @fuel-domains/sdk
Description: ![twitter](https://img.shields.io/twitter/follow/fuel_domains?style=social) ![Waitlist](https://img.shields.io/badge/Fuel_Domais-Waitlist-green?link=https%3A%2F%2Ffuel.domains)
Latest version: 0.1.7

![twitter](https://img.shields.io/twitter/follow/fuel_domains?style=social)
![Waitlist](https://img.shields.io/badge/Fuel_Domais-Waitlist-green?link=https%3A%2F%2Ffuel.domains)


# 📦 Fuel Domains SDK

Fuel Domains SDK enable to register a `.fuel` domain in [Fuel Network](https://www.fuel.network/).
Compatible with BETA-5

## Installation

```bash
npm install fuels @fuel-domains/sdk
```

## Getting Started

### Domain resolver
```ts
import { resolver } from '@fuel-domains/sdk';

const providerURL = 'https://beta-5.fuel.network/graphql';

// Get domain resolver
const fuelDomain = await resolver({
  domain: 'fueldomain',
  providerURL,
});
console.log(fuelDomain); // { owner: '0x000...', resolver: '0x000...' }
```

### Domain register
```ts
import { register } from '@fuel-domains/sdk';
import { Wallet } from 'fuels';

// Fuel Wallet instance
const wallet: Wallet;

// Register a .fuel domain 
await register({
  account: wallet,
  resolver: '0x0000...',
  domain: 'fueldomain',
});
```

## 📜 License

This repo is licensed under the `Apache-2.0` license. See [`LICENSE`](./LICENSE) for more information.