Block Battle is a game where you battle out Trilemma monsters to help Ethereum achieve its full potential.
- Vue.js
- React
- Typescript
- Javascript
- TailwindCSS
- HTML/CSS
- Contract Address : 0xE15BE6e5eB00daAaF53D6F129dE6F11EDB9Ed4A6
- Testnet URL : https://sepolia-blockscout.scroll.io/address/0xE15BE6e5eB00daAaF53D6F129dE6F11EDB9Ed4A6
Top Level folders
/contracts
- contains the solidity contract/scripts
- deployment scripts
- package.json - node modules to be installed, etc.
- hardhat.config.js - solidity version and run information, deployment network configuration
- .env.example - To store Infura/Alchemy API keys and your private key
-
Clone this repo :
`git clone https://github.com/NiteeshPutla/block-battle-backend.git`
-
Go to the root directory and install all node packages
cd block-battle-backend
npm install
- If you haven't already, install nodejs and yarn.
- Run
yarn install
to install dependencies. - Create a
.env
file following the example.env.example
in the root directory. ChangePRIVATE_KEY
to your own account private key in the.env
. - Run
yarn compile
to compile the contract. - Run
yarn deploy:scrollTestnet
to deploy the contract on the Scroll Sepolia Testnet. - Run
yarn test
for hardhat tests.
Block Battle is a game where you battle out Trilemma monsters to help Ethereum achieve its full potential.
- Built on Scroll Sepolia Blockchain
- Solidity
- Typescript
- Javascript
- Hardhat
- Etherjs
- Metamask
- Tailwind CSS
Top Level folders
/contracts
- contains the solidity contract/scripts
- deployment scripts
- package.json - node modules to be installed, etc.
- hardhat.config.js - solidity version and run information, deployment network configuration
- .env.example - To store Infura/Alchemy API keys and your private key
-
Clone this repo :
`git clone https://github.com/NiteeshPutla/block-battle-backend.git`
-
Go to the root directory and install all node packages
cd block-battle-backend
npm install
- If you haven't already, install nodejs and yarn.
- Run
yarn install
to install dependencies. - Create a
.env
file following the example.env.example
in the root directory. ChangePRIVATE_KEY
to your own account private key in the.env
. - Run
yarn compile
to compile the contract. - Run
yarn deploy:scrollTestnet
to deploy the contract on the Scroll Sepolia Testnet. - Run
yarn test
for hardhat tests.