This is the final project for our Blockchain training @ Alyra
The purpose of this project is to offer certification on drones flights data for deliveries.
/!\ Project is still under development /!\
Dapp preview (deployed on Optimism testnet) is available here : https://starwings.netlify.app/
Contracts addresses are available here
Managers:
- Jean-Philippe BONHOMME
- François BROBECK
Developers:
To install the project, open a terminal at the root folder and execute :
$> npm install && npx hardhat compile && cd client && npm install
Create your own .env
file and add your parameters (there is a .env-example file that you can copy):
MNEMONIC
: Your mnemonic.OPTIMISM_API_KEY
: Paste your Etherscan for Optimism API key. (https://optimistic.etherscan.io/myapikey) Used for Optimism testnet deployment
We use Hardhat to deploy the smart contracts.
$> npx hardhat compile
On local Hardhat network:
Open a terminal and run :
>$> npx hardhat node
Open another terminal and run :
>$> npx hardhat run scripts/deploy.js
On live network (mainnet, ropsten, etc..):
Open a terminal and run :
>$> npx hardhat run scripts/deploy.js --network <YOUR NETWORK NAME>
Once contracts are deployed, you can start the client :
$> cd client; npm start
Developers documentation:
License MIT
Copyright (C) 2022