open-index/open-npm huggingface dataset:
npm package: @rarible/deploy
Description: package with all migrations to deploy other packages
Author: 0v1se
Latest version: 0.8.18

# * Deprecated migration in truffle
# Current migrations are in [hardhat-deploy/](../hardhat-deploy/) package
## Rarible full migration
- to enable migration for legacy contracts set property 
    - ```deploy_legacy: true```

    - for exchangev1 set:
        ```
        beneficiary: "",
        buyerFeeSigner: "",
        ```

    - for rarible legacy token set
        ```
        "rarible_token_legacy": {
            name: "Rarible",
            symbol: "RARI",
            signer: "0x002ed05478c75974e08f0811517aa0e3eddc1380",
            contractURI: "https://api-e2e.rarible.com/contractMetadata/{address}",
            tokenURIPrefix: "ipfs://",
        },
        ```
    - for mintable legacy token set
        ```
        "mintable_token_legacy": {
            name: "Rarible",
            symbol: "RARI",
            newOwner: "0x002ed05478c75974e08f0811517aa0e3eddc1380",
            contractURI: "https://api-e2e.rarible.com/contractMetadata/{address}",
            tokenURIPrefix: "ipfs://",
        },
        ```
    for the desired network's settings in [config.js](./migrations/config.js)
npm package: @rarible/ethereum-api-client
Description: - `yarn` - Install dependencies - `API_SPEC_PATH=https://api-dev.rarible.com/protocol/v0.1/openapi.yaml yarn run download` - Download spec - `yarn run generate` - Generate sources from spec - `yarn run build` - Generate build for client - `yarn release` -
Latest version: 1.152.1

## How to start?

- `yarn` - Install dependencies
- `API_SPEC_PATH=https://api-dev.rarible.com/protocol/v0.1/openapi.yaml yarn run download` - Download spec
- `yarn run generate` - Generate sources from spec
- `yarn run build` - Generate build for client
- `yarn release` - Do the full release and publish cycle
npm package: @rarible/hardhat-deploy
Description: Network config must be created in [config folder](./utils/config/) for deployment
Latest version: 0.8.18

# Hardhat Deploy

Network config must be created in [config folder](./utils/config/) for deployment

## Deployment

For a fresh deployment of the entire test suite on a new chain, use:

```shell
npx hardhat deploy --network <network_name> --tags all
```

For individual deployments:

```shell
npx hardhat deploy --network <network_name>
```

## Contract Verification

Different chains use different verification methods:

### For Etherscan-compatible chains (Ethereum, BSC, Polygon, etc.):

```shell
npx hardhat --network <network_name> etherscan-verify [--api-key <etherscan-apikey>] [--api-url <url>]
```

### For Sourcify-compatible chains (Telos, etc.):

```shell
npx hardhat --network <network_name> sourcify
```

### Verification Support by Chain:

- Etherscan API:
  - Ethereum (Mainnet & testnets)
  - BSC
  - Polygon
  - Avalanche
  - (and other chains using Etherscan-compatible explorers)
- Sourcify:
  - Telos
  - (other chains that don't support Etherscan API)

### Generate Deployment Document

After verification, generate a list of deployed contracts and their addresses:

```shell
NETWORK="network-name" bash export-address-to-readme.bash
```

## Testing

To run integration tests of contracts to deploy:

```shell
npx hardhat test
```
npm package: @rarible/lazy-mint
Description: Interfaces for ERC-721/1155 contracts with mintAndTransfer function
Author: 0v1se
Latest version: 0.8.18

### Interface for mintAndTransfer functionality on Rarible.

mintAndTransfer function can be used to mint tokens and transfer them at once. This is useful for lazy (free) minting.
Users on Rarible can create tokens offchain, but buyer will be able to mint it and transfer at purchase time.