Deploy on Circuitscan #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy on Circuitscan | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
environment: Circuitscan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
- name: Install CircuitScan | |
run: | | |
npm install -g circuitscan | |
- name: Login to Circuitscan | |
run: | | |
circuitscan login ${{ secrets.CIRCUITSCAN_API_KEY }} | |
- name: Deploy Spend circuit | |
run: | | |
circuitscan deploy:circom circuits/main_spend.circom sepolia -v v2.2.2 -i 256 | |
env: | |
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }} | |
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }} | |
- name: Deploy Proof-Of-Burn circuit | |
run: | | |
circuitscan deploy:circom circuits/main_proof_of_burn.circom sepolia -v v2.2.2 -i 256 | |
env: | |
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }} | |
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }} | |