This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
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>
npm run dev
npm run build
npx hardhat --network ten deploy
Lint with ESLint
npm run lint