Skip to content

DavidBurela/Ignite2017AusBlockchainPresentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Blockchain development on Azure BaaS

Setting up your development environment

Truffle framework

Azure Etherum consortium

.\geth --datadir .\ --networkid 10101010 --rpc

additional links

info sources

Code snippets

getting started in Truffle Console

// get accounts
web3.eth.accounts

// get reference to deployed contract
var metaCoin;
MetaCoin.deployed().then(function(deployed) {metaCoin = deployed;});

// get balance of account 0
metaCoin.getBalance.call(web3.eth.accounts[0])

// send coins
var account0 = web3.eth.accounts[0];
var account1 = web3.eth.accounts[1];
metaCoin.sendCoin(account1, 1000, {from: account0});
metaCoin.getBalance.call(account0);

About

My presentation from Microsoft Ignite Australia 2017

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published