1

I'm working with a fairly large contract (~12 KB) on a private test net and deployment times are quite large (not mining the contract, but copying the interface and creating the deployment transaction (especially copying the EVM byte code to the geth console)).

Is there a way to deploy large contracts more quickly in geth?

2

You can use a lifecycle management framework like embark or truffle.
Both allow you to automate the contract deployment on different stages: Development stage, Staging stage, Live stage. On each stage you can have different networks or even the handy testrpc tool:

testrpc is a Node.js based Ethereum client for testing and development. It uses ethereumjs to simulate full client behavior and make developing Ethereum applications much faster. It also includes all popular RPC functions and features (like events) and can be run deterministically to make development a breeze.

Also they integrate with automated testing for unit and integration testing of your contracts.

My Tip: try testrpc in combination with truffle. Development will speed up significantly.

  • I was wondering, is there a way to do step-by-step debugging in contracts? – Sebi Aug 3 '16 at 14:58
  • Sounds like a new question ;-) – Roland Kofler Aug 3 '16 at 19:15
  • I'll ask it now :)) – Sebi Aug 4 '16 at 7:32
  • 1
    OK i am traveling so can answer only later – Roland Kofler Aug 4 '16 at 7:40
  • Thanks. I got stuck with truffle :)) Can you give me a hand with this question: http://ethereum.stackexchange.com/questions/7740/setting-up-a-truffle-project ? :P I don't see how you can deploy new contracts and test them. – Sebi Aug 4 '16 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.