I want to experiment with Ethereum without having to download the entire blockchain. My ISP limits my bandwidth to 50GB and downloading the ETH chain would consume a lot of that, not to mention the time. Is there any SPV like implementation of Ethereum? With Bitcoin, I could simply download bitcoinj and start coding.
I have also considered Blockchain as a Service by Azure. Are there any alternatives? (because they need my credit card number.)
What I want to do:
- Experiment with simple transactions (sending Ether)
- Create contracts
- Store arbitrary data on blockchain.
Ideally I would prefer something that runs on JVM but that is not a hard constraint.
One method I have in mind is to run a private blockchain using Ethereum code but with my own genesis block. Will this approach work with other 3rd party Ethereum frameworks (such as Truffle)?
Best Answer
Creating a local in-memory blockchain (Ganache) with
Brownie
is recommended way for development.Besides
Browser Solidity
(as @Rob Hitchens recommended), you could also develop smart contracts usingBrownie
. You could implement your smart contracts and test it on its local blockchain, where each transaction will be deploy right away and increment the block number.In addition to that you could also create your own private ethereum network, where blockchain will start from genesis block. If you build it as Proof-of-Authority you can fix time to 10-15 seconds for block time and and it will not consume any additional CPU usage.
If you are required to experiement on a private chain, you can connect and use freely a proof-of-authority private ethereum network (eBlocPOA) that I have started and using, please see the guide to connect and feel free to contact with me through the github link.
You could also find some guide to start your own private-chain:
https://ethereum.stackexchange.com/a/2571/4575
https://souptacular.gitbooks.io/ethereum-tutorials-and-tips-by-hudson/content/private-chain.html