Deploy contracts using a universal deployer via CREATE2, allowing contracts to have the same address on any EVM chain.
How to use
yarn install @arcadeum/deployer
- Import UniversalDeployer into script
- Create UniversalDeployer instance
- Deploy contracts
instance number can be passed if multiple instance of the same contract need to be deployed on the same chain. The default instance number is 0, if none is passed.
You can also pass transaction parameters explicitely :
Copyright (c) 2018-present Horizon Blockchain Games Inc.