Quickly create and test your Dapp, locally.
yarn start
That's it, let's BUIDL things now ¯\(ツ)/¯ !
We run the Ganache blockchain in a deterministic manner.
You need to import the preconfigured account in your wallet in order to send transactions to your contracts.
Simply copy/paste the private key from ./ganache.json
into your wallet provider.
Finally, select the localhost network at port 8545 in your wallet.
Please, do not use this on production.
You will be able to use your own account via its private key in the .env
file once this issue is solved.
Once your local is started, you can work on the backend:
- Create on your contracts as usual in the
/contracts
folder - Run
yarn test
(ortruffle test
) to test your smart contracts - Run
yarn migrate
(ortruffle migrate --reset
) to deploy to the running Ganache chain
Once migrated, the frontend should update automatically.
There will be a form to play with your contracts' methods.
Restart the app yarn stop && yarn start
and re-open your browser at http://localhost:3000
.
- Truffle and Truffle Contract in particular
- Ganache to start a blockchain locally, with a deterministic account
- Vite (VanillaJS) to start
- TailwindCSS