3

What is the best way and tools to evaluate the performance of a smart contract. More specifically, I want to test my contract for large scale deployment by making a script that emulate real world interaction scenarios with the contract.

Any hints about how to create such a script test? should I use web3.js or truffle framework test? How to program thousand of transactions to be sent to the blockchain? and what are the relevant metrics that I could measure after the test.

Thanks.

closed as too broad by Ismael, Briomkez, Achala Dissanayake, Aniket, Nicolas Massart Dec 15 '18 at 1:26

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

The only metric I really care about is cost to deployment.

https://www.npmjs.com/package/eth-gas-reporter

quite possibly, efficiency, but that can cause other problems with the breaking changes in solidity V0.5.0

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