How to create a contract on Ethereum and Html/JS client

in ethereum •  7 years ago  (edited)

Ethereum logo

Hello!

I will demonstrate quickly and directly how to create a contract and your Javascript client in Ethereum's Blockchain!

First let's install the Ethereum Geth client (https://github.com/ethereum/go-ethereum).

To do this in Linux run the following command:

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum

Instantiate your node in development mode and accessing the console:

geth --dev --ipcpath ~/.ethereum/geth_test.ipc console --rpc --rpccorsdomain "http://localhost,http://ethereum.github.io" --rpcapi="db,eth,net,web3,personal"

Create the master account in the ethereum console

personal.newAccount()

Minimize a little to generate the money needed to make the deploy:

miner.start()

Stop mining

wait a few seconds and you can stop on the console itself:

miner.stop()

Deploy the contract using the remix (http://ethereum.github.io/browser-solidity)

Good! I am learning to configure this blog, if you want me to conclude this article please comment, that I will detail and improve this post with details and who knows even a video !!!!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @robgolba! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @robgolba! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!