April 2017
Intermediate to advanced
266 pages
7h 4m
English
Now that you know how to compile, deploy, and test smart contracts using truffle, it's time to build a client for our altcoin. Before we get into how to build a client using truffle, you need to know that it doesn't allow us to sign transactions using accounts stored outside of the ethereum node; that is, it doesn't have anything similar to sendRawTransaction and the reasons are the same as those for truffle-contract.
Building a client using truffle means first integrating truffle's artifacts in your client source code and then preparing the client's source code for deployment.
To build a client, you need to run this command:
truffle build
When this command is run, truffle will check how to build the client by inspecting ...