Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.2 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.2 KB

Example Number Guessing Game (v2)

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Create Environment

Assumes a registered viewing key with Ten.

Create a file .env in the project root with the below contents, where USER_KEY is supplied when registering your VK's and PRIVATE_KEY should be the private key for the account that is registered with Ten. Do not share your private key with anybody! For more details please find all the registration steps in https://docs.obscu.ro/.

USER_KEY = <token> 
PRIVATE_KEY = <private key>

Compile for Development

npm run dev

Compile for Production

npm run build

Deploy Contract

npx hardhat --network ten deploy

Lint with ESLint

npm run lint