Deploying the ForceTransfer Singleton is a straightforward process using the pre-signed transaction method. Follow these steps to deploy the contract:
-
Navigate to the
scripts/broadcastRawTransaction.ts
file in the project. -
Specify the RPC URL for the desired chain you want to deploy to.
-
Fund the deployer address with the required amount of native tokens. The deployer address is
0x2c5F13f2e0781120c6c661B48a7C82d7Ab416A5A
. Ensure this address has enough funds to cover the deployment gas costs. -
Run the deployment script using Hardhat:
npx hardhat run scripts/broadcastRawTransaction.ts
- The contract will be deployed, and you should see the transaction hash in the console output.
After deployment, it is suggested to verify the contract source code on block explorers using either hardhat or foundry.