beginner question

%3CLINGO-SUB%20id%3D%22lingo-sub-715710%22%20slang%3D%22en-US%22%3Ebeginner%20question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-715710%22%20slang%3D%22en-US%22%3E%3CP%3Ehere%20are%20some%20entry%20level%20questions%20after%20going%20through%20the%20blockchain%20videos%20on%20channel9%2C%20these%20questions%20might%20be%20related%20to%20blockchain%20instead%20of%20Azure%2C%20but%20as%20beginner%2C%20it%20is%20a%20bit%20hard%20to%20separate%20the%20concepts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20I%20have%20a%20smart%20contract%20deployed%20on%20a%20ethereum%20blockchain%2C%20every%20time%20when%20a%20block%20is%20calculated%2C%20it%20requires%20computation%20power%20from%20a%20mining%20computer%2C%20who%20is%20paying%20for%20the%20computation%3F%20does%20it%20mean%20that%20the%20smart%20contract%20hosting%20partner%20(me)%20need%20to%20pay%20for%20the%20mining%20company%20every%20time%20a%20block%20is%20generated%3F%20I%20see%20that%20VMs%20are%20needed%20to%20create%20a%20workbench%2C%20does%20it%20mean%20that%20the%20VMs%20are%20actually%20used%20to%20do%20the%20calculation%20to%20append%20the%20block%2C%20or%20it%20is%20a%20random%20mining%20computer%20on%20the%20ethereum%20network%20doing%20the%20computation%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20very%20closed%20to%20register%20the%20workbench%2C%20but%20stopped%20after%20seeing%20that%20the%20price%20is%20400usd%20for%20a%20month%20just%20to%20host%20it.%20but%20I%20guess%20I%20can%20just%20work%20like%201%2C%202%20hours%20then%20pause%20everything%20then%20the%20resource%20won't%20go%20up%20to%20400%2C%20500usd%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EMarc%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-946625%22%20slang%3D%22en-US%22%3ERe%3A%20beginner%20question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-946625%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20answer%20your%20question%20about%20computation%20power%20and%20mining%20-%20whoever%20is%20hosting%20a%20blockchain%20node%20that%20is%20participating%20in%20the%20blockchain%20network%20will%20need%20to%20pay%20for%20the%20compute%20power.%20If%20you%20deploy%20a%20smart%20contract%20on%20a%20blockchain%20network%2C%20but%20you%20do%20not%20host%20a%20node%20yourself%2C%20you%20don't%20need%20to%20directly%20pay%20for%20the%20compute%20power.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20Workbench%20-%20the%20VMs%20that%20you%20see%20are%20running%20the%20microservices%20that%20are%20in%20the%20Workbench%20solution.%20Workbench%20currently%20is%20designed%20to%20work%20with%20a%20private%20Ethereum%20based%20blockchain%20network%20-%20this%20means%20that%20someone%20is%20hosting%20a%20blockchain%20network%2C%20which%20is%20NOT%20a%20public%20network.%20So%2C%20either%20you%20or%20someone%20else%20will%20need%20to%20host%20a%20private%20blockchain%20-%20the%20VMs%20that%20are%20running%20the%20private%20blockchain%20network%20will%20be%20doing%20the%20block%20creation.%20In%20terms%20of%20your%20cost%20concerns%2C%20you%20can%20pause%20the%20solution%20to%20save%20costs.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20helps!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

here are some entry level questions after going through the blockchain videos on channel9, these questions might be related to blockchain instead of Azure, but as beginner, it is a bit hard to separate the concepts.

 

if I have a smart contract deployed on a ethereum blockchain, every time when a block is calculated, it requires computation power from a mining computer, who is paying for the computation? does it mean that the smart contract hosting partner (me) need to pay for the mining company every time a block is generated? I see that VMs are needed to create a workbench, does it mean that the VMs are actually used to run the smart contract and do the calculation to append the block, or it is a random mining computer on the ethereum network running the smart contract and doing the computation appending the block?

 

I was very closed to register the workbench, but stopped after seeing that the price is 400usd for a month just to host it. but I guess I can just work like 1, 2 hours then pause everything then the resource won't go up to 400, 500usd?

 

Regards

Marc

1 Reply

To answer your question about computation power and mining - whoever is hosting a blockchain node that is participating in the blockchain network will need to pay for the compute power. If you deploy a smart contract on a blockchain network, but you do not host a node yourself, you don't need to directly pay for the compute power. 

 

For Workbench - the VMs that you see are running the microservices that are in the Workbench solution. Workbench currently is designed to work with a private Ethereum based blockchain network - this means that someone is hosting a blockchain network, which is NOT a public network. So, either you or someone else will need to host a private blockchain - the VMs that are running the private blockchain network will be doing the block creation. In terms of your cost concerns, you can pause the solution to save costs. 

 

Hope this helps!