raid-guild / buidler-waffle-typechain-oz-vue

Dapp starter kit using: Buidler + Waffle + TypeChain + OpenZeppelin CLI + Vue (TypeScript)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buidler + Waffle + TypeChain + OpenZeppelin CLI + Vue (TypeScript)

Inspired by The New Solidity Dev Stack: Buidler + Ethers + Waffle + Typescript, this is a pre-configured starter kit that uses the latest and greatest tool set to go from zero to hero πŸ’ͺ in a quarter of the time, with 10x the type safety πŸ›‘οΈ and debugging 🐞 capabilities.

Leverage best practice tools such as: Buidler πŸ”¨ for stack traces and console.log in contracts, TypeChain πŸ”— for contract and front end type definitions, Waffle πŸ₯ž for type safe ethers.js contract testing, and Vue with TypeScript/TypeChain support πŸŽ€ to round out the stack.

If that's not enough: hit the ground running with test driven development πŸ§ͺ following the examples provided for contract, unit, and end to end testing. Objectively know when functionality is complete βœ… while catching bugs in updates before releasing.

As an added bonus: easily deploy upgradeable contracts - where one can update their contract logic πŸ“ while maintaining its state πŸ”’ - using the built-in OpenZeppelin CLI. Never worry about migrating again!

Finally, there's lots of under the hood goodies that come pre-configured to build beautiful Progressive Web Apps πŸ¦‹ that include state management and routing; with more features being released rapidly!

Next on deck: gasless transactions β›½πŸ”₯

Ready to develop like the pros? Use this template to get started! πŸš€

Using the template

Once you've generated a project and cloned it locally:

Install the dependencies

yarn

Compile and generate type definitions for your contracts

yarn build:contracts

Run your Waffle tests with stack traces

yarn test:contracts

Start the frontend app in development mode (hot-code contract reloading, revert reporting, etc.)

yarn start:node

and in a new terminal

yarn start:dev

then open the app running locally in your favorite browser.

Upgrade your contracts locally

yarn upgrade:local

Start the frontend sans a local blockchain

yarn start:web

Lint and fix files

yarn lint

Build the dApp for production

yarn build

Run your unit tests

yarn test:unit

Run your end-to-end tests

yarn test:e2e

Run ALL the tests!

yarn test

Customize Vue configuration

See Configuration Reference.

Other Documentation

About

Dapp starter kit using: Buidler + Waffle + TypeChain + OpenZeppelin CLI + Vue (TypeScript)


Languages

Language:Vue 33.6%Language:JavaScript 29.8%Language:TypeScript 27.1%Language:Solidity 5.3%Language:HTML 4.2%