open-index/open-npm huggingface dataset:
npm package: @midl-xyz/hardhat-deploy
Description: A hardhat plugin to deploy contract to the MIDL ecosystem. Use this plugin alongside with [hardhat-deploy](https://github.com/wighawag/hardhat-deploy) to get the best experience.
Latest version: 2.0.1

# @midl-xyz/hardhat-deploy

A hardhat plugin to deploy contract to the MIDL ecosystem.
Use this plugin alongside with [hardhat-deploy](https://github.com/wighawag/hardhat-deploy) to get the best experience.

## Installation

```bash
pnpm add @midl-xyz/hardhat-deploy
```

## Usage

Add the following lines to your `hardhat.config.js`:

```javascript
import "@midl-xyz/hardhat-deploy";

module.exports = {
  midl: {
    mnemonic: "your mnemonic",
    path: "deployments",
  },
  networks: {
    default: {
      url: "https://evm-rpc.regtest.midl.xyz",
      chainId: 777,
    },
  },
};
```

### Deploying a contract

```javascript
export default async function deploy(hre) {
  await hre.midl.initialize();
  const deployer = await hre.midl.getAddress();

  await hre.midl.deploy("YourContract", {
    from: deployer,
    args: [100],
  });

  await hre.midl.execute();
}
```
npm package: @midl-xyz/midl-js-config
Description: Shared configuration for `@midl-xyz` packages. Internal use only, not published to npm registry.
Latest version: 0.0.2

# @midl-xyz/midl-js-config

Shared configuration for `@midl-xyz` packages. Internal use only, not published to npm registry.

## Usage

```js
pnpm add @midl-xyz/midl-js-config --workspace --save-dev
```
npm package: @midl-xyz/midl-js-core
Description: `@midl-xyz/midl-js-core` provides the basic building blocks for interacting with Bitcoin and the MIDL Protocol. It includes utilities for creating and managing Bitcoin transactions, signing messages, and more.
Latest version: 2.0.1

## @midl-xyz/midl-js-core

`@midl-xyz/midl-js-core` provides the basic building blocks for interacting with Bitcoin and the MIDL Protocol. It includes utilities for creating and managing Bitcoin transactions, signing messages, and more.

### Features

- **Connect to any Bitcoin network** (mainnet, testnet, regtest, etc.)
- **Publish transactions** to the Bitcoin network
- **Sign PSBTs**
- **Sign messages** using BIP322 and ECDSA
- **Transfer Runes**
- **Etch runes** on the blockchain

### Installation

Install the package via your package manager of choice:

```bash
pnpm add @midl-xyz/midl-js-core
```

### Documentation

For detailed documentation, please visit midl-js-lib.midl.xyz.