-
Notifications
You must be signed in to change notification settings - Fork 2.3k
FAQ
##Troubleshooting##
1. Is there a video?
Yes. See Reddit
2. truffle deploy
is giving me this error when using the TestRPC:
[Error: Server error: File "testrpc.py", line 232, in eth_compileSolidity | KeyError: 'solidity’]
That’s an probably an issue with your Ethereum testrpc where it doesn’t send compile errors through the RPC. Check out the testrpc output - it should tell you why the contract didn’t compile. If it doesn’t give you a compile error, it means it can’t find solc
, the solidity compiler.
Don't have solc or the TestRPC?
- To install solc: https://github.com/ethereum/cpp-ethereum/wiki/Building-on-MacOS (see right column for other platforms)
- Then you can use https://github.com/ConsenSys/testrpc to run the TestRPC
3. How do I use regular Javascript on the frontend instead of CoffeeScript?
If using the default app configuration, simply rename ./app/javascripts/app.coffee
to ./app/javascripts/app.js
, then change the reference to app.coffee inside app.json
to be instead point to app.js. Truffle will handle the rest from there.
4. How do I set initialize arguments for contract constructor in test case?
5. How to get early traffic to my Dapp?
- When you finish development and deployment work, you can submit your Dapp to Dapp Insight to get early traffic.