truffle-ts-percel-box¶
This box is a sample that use Web3 1.0.0-beta and TypeScript 2.8, percel, metacoin box. I'm happy if this sample is useful for learning etheruem.
Installation¶
-  
Install Truffle globally.
npm install -g truffle -  
Download the box. This also takes care of installing the necessary dependencies.
truffle unbox YuichiNukiyama/truffle-ts-percel-box 
NOTE: This box depend on Web3.js 1.0.0-beta. And this package can't install on Windows without build-tools. If you want to use this sample on Windows, execute following script before truffle unbx: 
    // You shoud execute with administrator authority.
    npm install --global --production windows-build-tools
-  
Run the development console.
truffle develop -  
Compile and migrate the smart contracts. Note inside the development console we don't preface commands with
truffle.compile migrate -  
Run the
perceldevelopment server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated.// Serves the front-end on http://localhost:1234 npm run dev -  
Cleanup extra data after stop truffle and percel.
javascript npm run clean 
Acknowledgements¶
I referred to the following box. Thank you for authors :smile: