diff --git a/deploy/contracts/IStorageProofVerifier.sol b/contracts/IStorageProofVerifier.sol similarity index 100% rename from deploy/contracts/IStorageProofVerifier.sol rename to contracts/IStorageProofVerifier.sol diff --git a/deploy/contracts/StorageProofVerifier.sol b/contracts/StorageProofVerifier.sol similarity index 100% rename from deploy/contracts/StorageProofVerifier.sol rename to contracts/StorageProofVerifier.sol diff --git a/deploy/contracts/circuit_params.json b/contracts/circuit_params.json similarity index 100% rename from deploy/contracts/circuit_params.json rename to contracts/circuit_params.json diff --git a/deploy/contracts/gate/gate0.sol b/contracts/gate/gate0.sol similarity index 100% rename from deploy/contracts/gate/gate0.sol rename to contracts/gate/gate0.sol diff --git a/deploy/contracts/gate/gate15.sol b/contracts/gate/gate15.sol similarity index 100% rename from deploy/contracts/gate/gate15.sol rename to contracts/gate/gate15.sol diff --git a/deploy/contracts/gate/gate_argument.sol b/contracts/gate/gate_argument.sol similarity index 100% rename from deploy/contracts/gate/gate_argument.sol rename to contracts/gate/gate_argument.sol diff --git a/deploy/README.md b/deploy/README.md deleted file mode 100644 index 2d93701..0000000 --- a/deploy/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Deploy - -## How to start - -Install hardhat by simply typing `npm hardhat install` -When installation is done, compile contracts `npx hardhat compile` -To deploy contracts locally: `npx hardhat deploy` -- script will deploy the gate first, then storage proof verifier with verifier and gate address. -Verifier is hard-set in the script(you can change in manually). Gate deploys first, and then its address is used as input for storage verier. - -## Deploy on Sepolia - -First, you will need test ETH on the Sepolia network. You can use this (https://sepoliafaucet.com/) faucet or any other you want. - -Then you will need your private key that must be inserted in `hardhat.config.ts` file. Do not reveal your private key to anyone! - -You will need url. You can use Alchemy, Go to the website https://dashboard.alchemy.com/ and create your application on the Sepolia network. Then derive the HTTPS API key and insert it in `hardhat.config.ts` file. - -Then you can deploy on Sepolia using the following command: `npx hardhat deploy --network sepolia`. -Be advised deployment on the test network can be a bit time-consuming. \ No newline at end of file diff --git a/deploy/hardhat.config.ts b/hardhat.config.ts similarity index 100% rename from deploy/hardhat.config.ts rename to hardhat.config.ts diff --git a/deploy/package-lock.json b/package-lock.json similarity index 100% rename from deploy/package-lock.json rename to package-lock.json diff --git a/deploy/package.json b/package.json similarity index 100% rename from deploy/package.json rename to package.json diff --git a/deploy/slither.config.json b/slither.config.json similarity index 100% rename from deploy/slither.config.json rename to slither.config.json diff --git a/deploy/tasks/deploy.ts b/tasks/deploy.ts similarity index 100% rename from deploy/tasks/deploy.ts rename to tasks/deploy.ts diff --git a/deploy/tasks/sendData.ts b/tasks/sendData.ts similarity index 100% rename from deploy/tasks/sendData.ts rename to tasks/sendData.ts diff --git a/deploy/tasks/utils.ts b/tasks/utils.ts similarity index 100% rename from deploy/tasks/utils.ts rename to tasks/utils.ts