The first things you need to do are cloning this repository and installing its dependencies:
git clone git@github.com:corchessergiu/XenDeploy.git
cd XenDeploy
npm install
Add .secrets.json
file in root directory and put your secret phrase as a json format. For example:
{
"mnemonic":"crazy crazy crazy crazy crazy crazy crazy crazy crazy crazy crazy buzz"
}
Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:
npx hardhat run scripts/deploy.js --network scrollAlpha
Contract name | ScrollAlpha address | Blockscout link | Deployer address |
---|---|---|---|
XENCrypto | 0xb7e9f9ab5620d31bf78E72e92256795A6dE54870 | https://blockscout.scroll.io/address/0xb7e9f9ab5620d31bf78E72e92256795A6dE54870/contracts#address-tabs | 0x57578D28e78E4179D59B82DCEeE9A11b60Fa5406 |