Skip to content

alcuadrado/buidler-plugins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We wish to improve the output of Buidler, and include Textile out of the box.

This is just a part of our contribution to the Ethonline hackathon.

Packages

This is a demo project that includes buidler-react as a plugin to generate the react component that is used to display some example content.

Here is the code for the buidler react plugin. Lerna will symlink this package to @symfoni/buidler-demo so we can use it there.

Here is the code for the buidler storage plugin. Lerna will symlink this package to @symfoni/buidler-demo so we can use it there.

Developing

  1. Install lerna globally npm i -g lerna
  2. Run yarn run bootstrap // This will install all packages and build

You need three processes running for the full development enviroment

  1. yarn run watch watches changes in buidler-react plugin. Lerna will then symlink this package to be used in buidler-demo.
  2. yarn run node runs up a blockchain node, generate typechain interfaces, compile and deploy smart-contracts then watch for changes in smart contracts and deploy them.
  3. yarn run frontend runs a dev-server for a create-react-application from packages/buidler-demo/frontend that is served on http://localhost:3000/ with hot-reloading. This will also reload when you change smart contracts

Publish a new NPM package

  1. yarn run pubish builds all packages and published them to npm with version bump.

Use a browser wallet to interact with Ethereum

  1. Use Metamask or some other wallet provider (https://metamask.io/).
  2. Use Mnemonic "shrug antique orange tragic direct drop abstract ring carry price anchor train".
  3. Set the Network to custom rpc at "http://127.0.0.1:8545/".

Demo should be working!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 74.8%
  • JavaScript 18.5%
  • Solidity 4.2%
  • HTML 2.4%
  • Shell 0.1%