Social Icons

Showing posts with label Ropsten Test Network. Show all posts
Showing posts with label Ropsten Test Network. Show all posts

Saturday, February 02, 2019

Test Ether Faucet : "Hello world" kind SMART CONTRACT

1.       Smart Contracts are self-executing contractual states, stored on the blockchain, which nobody controls and therefore everyone can trust.Continuing ahead with the earlier post wherein we created few test ethers from the ropsten test network and then transferred few back to create some transactions.In this post we move further and create a small smart contract.

First move to https://faucet.metamask.io/

Once you connect the same with your account,your will find an open code by default.Since just the beginning,we simply delete and create a fresh new page to insert the contract code in as seen below :

 Blank page as seen below :



Find the code of the file faucet.sol

 copy the code...and save the file as faucet.sol
 code pasted

 Now the time to RUN
 Do a small change...amend the solidity program version like I have done to 5.1 and then also it asks to amend public to external
 Followed by submit
 Now time to deploy the same....
 











Wednesday, January 23, 2019

Transactions in METAMASK:Ropsten Test Network Ethereum

1. While at https://anupriti.blogspot.com/2019/01/metamask-extension-in-chromeinstallation.html we have installed metamask,now in this post we do a transaction of ethereum.While at the beginning learning stage we ideally should not be playing with real ethers,so there is a provision to get test ethers and do some dummy transactions to get a feel of how it actually works.

Firstly,we change the network choice from the Main Ethereum Network to Ropsten Test Network as seen in the screen shot below:
 Then we visit https://faucet.metamask.io/
 Simply request ether.I requested twice. :-)
 So,I got two ethers
In the transactions part,we see the links and while we click on any,we get to see the details of the transaction that reflect along with other details live from the ropsten test network explorer
 The transactions details as below :
 The details of Gas to be debited as seen below :
 So,now minus 1 ether and some gas,I am left with a rounded off 1 ether(not exactly one ether,its minus gas)
 The details seen in the Block explorer....as below

Powered By Blogger