In order to have a particular contract available it is necessary to run the deployment process.

Deploy

Taking as example the Hello World template, open the HelloWorld.sol contract by clicking on it in the Files hierarchy. While in the editor, click the Deploy button, presented at the editor top bar as the third button (the play icon). Regardless of having run the compile step for the current contract on a previous step, running the Deploy action will incur in two sequential operations: one for executing the compilation process and another one for deployment.

The deployment window shows all the steps taken from the compilation, account settings, signing, until the step which is the actual contract deployment transaction. After that, the deployment process waits for the transaction to be mined and, as a last step, returns the contract address.

Alternatively, as with any action in the context of contracts, it is possible to access the Deploy button by clicking the arrow next to the HelloWorld.sol contract to expand the item. Clicking the Deploy button directly from the left side menu also triggers the deployment process.

Redeployment rules

Project redeployment only happens when one of the following events happen:

  • a given compiled contract hasn't been deployed yet
  • a contract binary has been changed

Modified contracts need to be recompiled before redeployment.

Select a Network

Contracts are deployed to the in-browser network, which can be observed by the endpoint information shown during output and also represented in the status bar, at the right bottom of the screen: http://ethereum-studio-browser.

Preferences

Gas Limit and Gas Price used for deployment can be set in the Preferences window, located at the top right corner of the screen. Leaving any value empty and clicking the Save button resets the entry to the default state.

Did this answer your question?