🏗️」 wip: seems to be working

This commit is contained in:
2025-07-30 16:04:18 +02:00
parent 0449ad7ad2
commit 041bb2deb5
10 changed files with 252 additions and 12 deletions

View File

@ -11,6 +11,9 @@ set dotenv-load
@user $FASTIFY_LOG_LEVEL="info" $FASTIFY_PRETTY_LOGS="true":
fastify start src/api/user/default.js
@scoreStore $FASTIFY_LOG_LEVEL="info" $FASTIFY_PRETTY_LOGS="true":
fastify start src/api/scoreStore/default.js
# To launch all apis
@apis:
node src/dev.js
@ -44,3 +47,9 @@ set dotenv-load
# To clean only the container launched by the compose
@clean-compose: stop-docker
docker compose -f docker/docker-compose.yml rm
@deploy-contract-scoreStore:
forge create scoreStore --rpc-url=${RPC_URL} --private-key=${PRIVATE_KEY}
@verify-contract:
forge verify-contract --chain-id 43113 --rpc-url=${AVAX_RPC_URL} --watch ${AVAX_CONTRACT_ADDR}