Skip to main content
Jump to: navigation, search

Secoblocks

Getting Started

Setting up Geth Server:

The Geth server is contributed in eclipse server contribution
To start a new server choose File -> New -> Other
In the wizard choose Server -> Server
In the New Server page choose Basic -> Geth Server and press Next
In this page provide the Data directory location –
    The location which will hold the   local blockchain data.
On Finish the geth server will start
To stop/delete the server use the server’s view.

SecoGeth.jpg


Project Creation/Re-Import:

New ethereum projects can be created/existing project can be imported using this feature. Projects created will automatically get imported into the workspace To create a project one can use File -> New -> Project In the new project wizard choose Ethereum -> Ethereum project In the Ethereum Project creation wizard enter a project name, choose a project template, and also you can mention a solidity compiler that can be used. On click of Finish new project will be created and imported to workspace.

Secoprojectcreation.jpg


Solidity Compiler:

The solidity compiler has to be downloaded from git-hub and the path to the same has to provided in the tool.

The compiler path can either be mentioned during project creation or in the solidity compiler preference page.

A link to git-hub is provided in the import/preference page.

Soliditycompilersecoblocks.jpg


Views:

The views that are currently available are Deploy view, Accounts view, Servers view, Console, Error log. Accounts View – This view displays all the available accounts and its balance and also the gas limit and gas value.

Accountviewsecoblocks.jpg

Deploy View – This contains the compile button which is used to compile the solidity files and once the project specific solidity files are compiled all the smart contracts will be displayed in the drop-down. And then the user can choose any smart contract and use the deploy button to deploy into the local block-chain. Once Deployed all the available functions inside the smart contract will appear in this view.

The CXADDR button is used to diplay the contract Address of the deployed smart contract. And while triggering compilation selection is important, selecting individual files will trigger compilation for those files selecting the whole project will trigger compilation for all the files in the project.

Deployviewsecoblocks.png

Transaction View - To display the details of all transactions. Double clicking on the table row will bring up a window which contains all the details in a formatted way. To view the Transaction Receipt you can right click on the table row and select Transaction receipt.

Transactionviewsecoblocks.png

Copyright © Eclipse Foundation, Inc. All Rights Reserved.