This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
npx hardhat run scripts/deploy.js --network arbitrum_sepolia
npx hardhat verify --constructor-args arguments.js <deployed_contract_address> --network arbitrum_sepolia
cd client
# with npm
npm install -g @graphprotocol/graph-cli
# eith yarn
yarn global add @graphprotocol/graph-cli
graph init --studio one_piece_dapp
# authenticate in cli
graph auth --studio fd9731a523ad7fccab9c0617ccecb1f0
# Enter subgraph
cd one_piece_dapp
# build subgraph
graph codegen && graph build