Profile cover photo
Profile photo
Aresh Saharkhiz
35 followers
35 followers
About
Posts

Post has attachment

Post has attachment
"Phone Book Contract" Example Version 4
In my previous post, any account could add and delete from the contract. so in this post i will be using "Modifiers" to check that only the creator of the contract can add and remove data but any one can view the phonebook Modifiers can be used to change th...
"Phone Book Contract" Example Version 4
"Phone Book Contract" Example Version 4
ethereumacademy.blogspot.com
Add a comment...

Post has attachment
"ICO Contract" Example (Send Token in Exchange for Ether)
In this post i can send Ether to the Creator Account as a donation from another Account Ive also created a Token Contract where you can s end Tokens to Another Account In this post, i will make use of both concepts with the following assumption: I have a co...
Add a comment...

Post has attachment
Crypto-Currency "Coin Contract" Example
So here is my starting point pragma solidity ^0.4.18;

//Used like an Interface in C# or Java
contract Token {

function totalSupply() public constant returns (uint256 supply) {}
function balanceOf(address _owner) public constant returns (uint256 ba...
Crypto-Currency "Coin Contract" Example
Crypto-Currency "Coin Contract" Example
ethereumacademy.blogspot.com
Add a comment...

Post has attachment
"Phone Book Contract" Example Version 3
In this version im making use of the following 1. Delete an item using an index from the array 2. Log the action using an "Event" Events are dispatched signals the smart contracts can fire. DApps, or anything connected to Ethereum JSON-RPC API, can listen t...
Add a comment...

Post has attachment
"Donation Contract" Example
So in this Post i will be writing a Donation Contract. The idea is, The Creator Creates the contract. another person wants to Donate a certain amount of Ether to the Creator. Warning: Tests done with Remix, i can be the creator and send ether to myself with...
"Donation Contract" Example
"Donation Contract" Example
ethereumacademy.blogspot.com
Add a comment...

Post has attachment
Add a comment...

Post has attachment
The Language of Ethereum Smart Contracts
This Post will be updated Constantly as i progress SOURCE: https://solidity.readthedocs.io/en/develop/ The language to create Ethereum Smart Contracts is "Solidity" There are many integrations for solidity, i will be using Remix mostly as it does not requir...
Add a comment...

Post has attachment
Testing using MetaMask Part 2 "Executing the Contract"
Before writing any javascript code we first need to deploy the contract after deploying we will need 2 things 1. The Contract address 2. The Contract ABI In the next post i will be showing how to use the "web3 Deploy" to get the Contract Address. On the Rem...
Add a comment...

Post has attachment
"Building Security" Solidity Example
Solidity contract to track Building Entries pragma solidity ^0.4.0;
contract BuildingSecurity {

struct Visitor {
string name;
string information;
string VisitorID;
uint8 ID;
string fbID;
string opencv;
...
Add a comment...
Wait while more posts are being loaded