Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.59 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.59 KB

Quick dApp

Quickly create and test your Dapp, locally.

yarn start

That's it, let's BUIDL things now ¯\(ツ)/¯ !

Frontend screenshot

Account

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.

Smart contracts

Once your local is started, you can work on the backend:

  • Create on your contracts as usual in the /contracts folder
  • Run yarn test (or truffle test) to test your smart contracts
  • Run yarn migrate (or truffle 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.

Dependencies