Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dirt-road-development/skale-cross-chain-mint

Cross Chain Mint Example using IMA on SKALE
https://github.com/dirt-road-development/skale-cross-chain-mint

blockchain cross-chain evm ima message skale-network solidity

Last synced: 29 days ago
JSON representation

Cross Chain Mint Example using IMA on SKALE

Awesome Lists containing this project

README

        

# SKALE Cross Chain Mint Example

The following repository is a great example on how to use messages from one SKALE Chain (or Mainnet) and mint assets on another.

## Installation

Run `npm install` in the root of the directory after forking/cloning.

## Deployment (Launch)

To deploy the base protocol you must do the following:

1. Add a private key without the 0x to a .env file `cp .env.example .env && vim .env`
2. Make sure your Ethereum account has deployer role on the necessary chains

Once complete, run the following to launch the protocol:

```shell
// Deploy ERC-721
npx hardhat deploy --network --tags erc721

// Deploy ERC-1155
npx hardhat launch --network --tags erc1155

// Deploy ERC-721 with Counter
npx hardhat launch --network --tags erc721-counter

// Deploy Cross Chain Receiver
npx hardhat launch --network --tags receiver

// Deploy Mint Manager
npx hardhat launch --network --tags manager
```

### Security and Liability

All contracts, code, examples, test are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

### License

See [License](./LICENSE) in License.