-
Install Truffle globally.
npm install -g truffle
-
Install the necessary dependencies.
npm install
-
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
-
To build the application for production, use the build command. A production build will be in the build_webpack folder.
npm run build
-
Run the webpack server for front-end hot reloading (outside the development console). Smart contract changes must be manually recompiled and migrated.
// Serves the front-end on http://localhost:3000 npm run start
-
Notifications
You must be signed in to change notification settings - Fork 2
krishishah/Off-Chain
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Simple Unidirectional Ethereum Payment Channel
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published