Angel \”Java\” Lopez on Blog

November 9, 2016

Connecting Blockchains (3)

Filed under: Bitcoin, Blockchain, Ethereum, FinTech, Open Source Projects, RSK — ajlopez @ 10:50 am

Previous Post
Next Post

Let’s start with the simplest use case. Blockchains manage blocks, and in the blocks, they could have different things. But one of the most popular use is: the block payload is a list of transactions, that transfer a crypto currency, a value between accounts.

Then, what is the simplest use case for connecting two blockchains based in transactions? That the transfer in one blockchain should be reflected in the other blockchain:

Why this transfer is special? Because the first transfer has an special target account: every value transfer to that special account will be reproduced as a transfer in the second blockchain. The transfer value is the same: if you transfer 1000 units in the first transaction, then you will transfer 1000 units using the second (automated generated) transaction.

You controls the first account (Acc1) in the first blockchain. Knowing that account, the second blockchain will transfer the second transaction using an associated second account (Acc1’) in the second blockchain. Then, you can use that value in the second blockchain, having access to Acc1’.

The amount transferred in the first transaction will be locked in the special account of the first blockchain. In another use case, we will describe the recovery of that value, to be released again.

The special accounts are managed by the connection system, not by human beings.

More use case are coming, stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

November 7, 2016

Connecting Blockchains (2)

Filed under: Bitcoin, Blockchain, Ethereum, FinTech, RSK — ajlopez @ 10:31 am

Previous Post
Next Post

Sure, there are many ways to connect two blockchains. I want to explore one, following some guidelines:

Simplicity: To me, it is the key of software development. Try to implement something simple, not a Rube Goldberg machine. When making implementations simple, you can understand the problem and the simple solution. And you will have something that can evolve, change, adapt in the future, instead of having a big and complicated, astronautical, convoluted architecture.

Guided by Use Cases: Not by technology, but by the concrete use cases. See clearly the problem. implements the simplest solution. Avoid adding something that no use case needs.

Make it work, make it right, make it fast: Evolutive implementation, software that grows. You don’t need to have all pieces connected from the beginning. Try a simple case, and start to add functionalities. No optimization at the first steps.

Test-Driven Development: I confess I’m a big supporter of TDD. To me, it is the way to write production code. TDD pushes for simplicity, evolving implementations, and clear understanding of the use cases, problems and chosen solutions.

Resilience: The implementation should be robust. We are managing value, virtual currency, money. And the solution should be resistance to occasional failure.

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

November 5, 2016

New Month’s Resolutions: November 2016

Filed under: Blockchain, C Sharp, Ethereum, JavaScript, Open Source Projects, Solidity — ajlopez @ 9:09 pm

End of year is coming. Time to write my new month’s resolutions. And my past month’s ones.

– Improve CrysSharp [complete] see repo
– Improve SharpGo [complete] see repo
– Improve BlockchainSharp [complete] see repo
– Improve SimpleBlockchain [complete] see repo
– Continue Solidity Compiler [complete] see repo
– Continue ChineseP [pending]
– Write about implementing a block chain [pending]
– Write about simplicity and implementing a two-way peg [complete] see post

Additionally

– I gave a talk about Connecting Blockchains [complete] see slides
– Example source code, WIP, PegSharp [complete] see repo

My new month’s resolutions

– Improve CrysSharp
– Improve GoSharp 
– Improve BlockchainSharp
– Improve SimpleBlockchain
– Continue Solidity Compiler
– Continue ChineseP
– Continue PegSharp

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

November 2, 2016

Connecting Blockchains (1)

Filed under: Bitcoin, Blockchain, Ethereum, FinTech, RSK — ajlopez @ 9:38 am

Next Post

The success of Bitcoin is everywhere: the most popular virtual currency, supported by a distributed blockchain, is chaging the fintech world. But it success is not coming alone: it has limitations (transaction throughput, block size limits, transfer-oriented, inertia to change, no smart contracts… ) that are more evident with the spread of its success.

One path to overcome such limitation is to evolve. But historically, Bitcoin change (via Bitcoin Improvement Proposals, soft and hard forks…) was a not-so-easy process, that precludes innovation. And it has its reasons: the security gained by Bitcoin is not so easy malleable for innovation. There are many interests that fight against changes that could affect the basis of the system.

The “new kid on the block”, Ethereum, is an example of controlled innovation: the platform supports the execution of smart contracts, that could open a new world of applications to virtual currency management and related assets.

I’m a member of development team of @RSKSmart, where we are working hard to connect Bitcoin network (virtual currency, security) with an RSK network based on Ethereum (smart contracts). In this personal blog post series, I want to discuss some ways to connect blockchains, in general, and Bitcoin, Ethereum/RSK in particular.

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

October 31, 2016

Scaling Ethereum/RSK (1)

Filed under: Scalability, Blockchain, Ethereum, RSK — ajlopez @ 9:48 am

I’m a member of development team at @RSKSmart. We are working implementing a blockchain based on Ethereum (Java version) that is connected with Bitcoin using a two way peg.

There are many ideas (not published yet) to improve scalability in Ethereum/RSK. In this new post series, I want to share a personal idea to achieve scalability: to run transactions in parallel, taking advantage of current processors.

Ethereum/RSK, as other blockchains, have blocks with transactions. The key difference with Bitcoin is that they support the execution of smart contracts. So, each transaction could be a simple value transference, or it could be a call to a contract method. Each created contract has an address, and an associated storage. The transactions in a block are executed in order, to obtain a deterministic result (state of world), at the end of its execution, in any node of the network. The whole block has an associated state of world, result of execute all its transactions in order, starting from previous block state of world.

But in many situations, two consecutive transactions are independent. The state of world at the end of their execution, is the same, without regarding the order of execution. Even calling the same contract, two transactions, in some cases, could be executed in parallel. Ie, a contract manages an asset/tokens by user, and transaction T1 alters the asset value associated to user U1, and transaction T2 alters the asset value associated to user U2. Both transactions could be interchangeable in order. And they could be executed in parallel. In this way, a contract is not the bottleneck of execution. The transaction semantic determines if the transactions are independent or not.

I was experimenting with lightweight implementations of tries, the data structure used to keep storage and calculate hash roots of state of worlds (see Building a blockchain (5)). My idea to parallelize the execution of transactions is to use a trie that support multithreading execution, detecting any conflict of read/write storage btw transactions. If N transactions can be executed without conflicts (ie, a conflict could be two transactions writing the same storage cell), then they could be executed in parallel. The base idea: use ideas from software transactional memory implementations (see Memory Transactions In AjSharp Using References).

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

October 19, 2016

Blockchain: Links And Resources (11)

Filed under: Bitcoin, Blockchain, Ethereum, FinTech, Links — ajlopez @ 10:41 am

Previous Post
Next Post

The DAO: An Analysis of the Fallout – CoinDesk
http://www.coindesk.com/the-dao-an-analysis-of-the-fallout/

The Uncanny Mind That Built Ethereum — Backchannel
https://backchannel.com/the-uncanny-mind-that-built-ethereum-9b448dc9d14f#.57abnqobb

MIT Media Lab Releases Code for Digital Certificates on the Blockchain
https://bitcoinmagazine.com/articles/mit-media-lab-releases-code-for-digital-certificates-on-the-blockchain-1465404945

Solidity and the Ethereum Virtual Machine – Dom Steil
https://domsteil.com/2016/03/15/solidity-and-the-ethereum-virtual-machine/

Will The DAO Become Ethereum’s Mt Gox? – CoinDesk
http://www.coindesk.com/dao-can-keep-becoming-next-mt-gox/

IBM’s New Watson Centre Merges Blockchain With AI – CoinDesk
http://www.coindesk.com/ibms-asia-watson-blockchain-ai/

Rootstock: Is the two way peg secure?
https://media.consensys.net/2016/06/09/revisiting-rootstock/

Merkling in Ethereum – Ethereum Blog
https://blog.ethereum.org/2015/11/15/merkling-in-ethereum/

Bloomberg Editorial Board: Public and Private Blockchains Need Level Playing Field
http://www.coindesk.com/bloomberg-editorial-blockchain/

Bitcoin and the Future of Blockchain in International Payments Systems
https://www.americanexpress.com/us/content/foreign-exchange/articles/bitcoin-future-of-blockchain-in-international-payments-systems/

October 18, 2016

Blockchain: Links And Resources (10)

Filed under: Bitcoin, Blockchain, Ethereum, FinTech, Links — ajlopez @ 9:52 am

Previous Post
Next Post

Digital Currency ‘Still on the Agenda’ at Russian Central Bank – CoinDesk
http://www.coindesk.com/russias-central-bank-theres-cautious-optimism-blockchain/

Making Sense of Blockchain Smart Contracts – CoinDesk
http://www.coindesk.com/making-sense-smart-contracts/

Untangling “The Business Blockchain” | Marginalia
http://www.marginalia.online/untangling-the-the-business-blockchain/

How Blockchain Technology Will Disrupt Financial Services Firms
http://knowledge.wharton.upenn.edu/article/blockchain-technology-will-disrupt-financial-services-firms/

The DAO: are we taking “The Wisdom of the Crowd” too far? – Backfeed Magazine
https://magazine.backfeed.cc/dao-taking-wisdom-crowd-far/

Blockchain Company Wants to Reinvent Companies – Bloomberg View
http://www.bloomberg.com/view/articles/2016-05-17/blockchain-company-wants-to-reinvent-companies

Pandas are More Plentiful Than Blockchain Developers – Blockchain News
http://www.the-blockchain.com/2016/05/18/pandas-plentiful-blockchain-developers/

Is The DAO going to be DOA? — Steemit
https://steemit.com/crypto-news/@dan/is-the-dao-going-to-be-doa

Skuchain | Blockchain Technology for Supply Chain
https://www.skuchain.com/

On Settlement Finality – Ethereum Blog
https://blog.ethereum.org/2016/05/09/on-settlement-finality/

This Early Ripple Supporter is Using Ethereum to Rethink Banking – CoinDesk
http://www.coindesk.com/fidor-ethereum-core-banking/

Finance and Beyond: An Infographic Map of Bitcoin and the Emerging Blockchain Ecosystem
https://bitcoinmagazine.com/articles/finance-and-beyond-an-infographic-map-of-bitcoin-and-the-emerging-blockchain-ecosystem-1461789453

Blockchain Smart Contracts: A Hyper-Deflationary Force for Health Care Delivery
https://bitcoinmagazine.com/articles/blockchain-smart-contracts-a-hyper-deflationary-force-for-health-care-delivery-1461860004

IBM Launches Blockchain Cloud Services and Releases Hyperledger Code on Bluemix
https://bitcoinmagazine.com/articles/ibm-launches-blockchain-cloud-services-and-releases-hyperledger-code-on-bluemix-1461950136

IBM raises its blockchain game with secure cloud services and Docker integration
http://techcrunch.com/2016/04/29/ibm-blockchain/

Slock.It Takes DAO to ‘IoT’ — Decentralized Autonomous Organizations 101
https://www.youtube.com/watch?v=3gEMvhyES1k

yeasy/hyperledger-py: Python client for hyperledger
https://github.com/yeasy/hyperledger-py

Lightning Network
https://lightning.network/

joequant/hyperledger: Docker image for hyperledger
https://github.com/joequant/hyperledger

bitquant/smart-contracts at master · joequant/bitquant
https://github.com/joequant/bitquant/tree/master/smart-contracts

My Links
http://delicious.com/ajlopez/blockchain

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

October 15, 2016

Blockchain: Links And Resources (9)

Filed under: Bitcoin, Blockchain, FinTech, Links — ajlopez @ 7:35 pm

Previous Post
Next Post

http://www.commonaccord.org
http://www.commonaccord.org/

etherparty/explorer: A lightweight ethereum block explorer
https://github.com/etherparty/explorer

maran/ethereum-blockchain-explorer: It is what it is
https://github.com/maran/ethereum-blockchain-explorer

Home – etherchain.org – The ethereum blockchain explorer
https://etherchain.org/

The Blockchain Wars: How Startups And Enterprises Are Competing To Create The Web 2.0
http://www.forbes.com/sites/jonathanchester/2016/04/14/the-blockchain-wars-how-startups-and-enterprises-are-competing-to-create-the-web-2-0/#4885b5a114a7

Incubating Project Proposal 20160329.docx – Documentos de Google
https://docs.google.com/document/d/1XECRVN9hXGrjAjysrnuNSdggzAKYm6XESR6KmABwhkE/edit

Hyperledger Whitepaper – Documentos de Google
https://docs.google.com/document/d/1Z4M_qwILLRehPbVRUsJ3OF8Iir-gqS-ZYe7W-LE9gnE/edit

hyperledger/hyperledger: Hyperledger Project is a new Collaborative Project at The Linux Foundation
https://github.com/hyperledger/hyperledger

hyperledger/fabric: Fabric is a blockchain project in Incubation proposed to the community
https://github.com/hyperledger/fabric

blockapps/blockapps-js
https://github.com/blockapps/blockapps-js

Juan Llanos (@JuanLlanos) | Twitter
https://twitter.com/JuanLlanos

Ethereum Stack Exchange
http://ethereum.stackexchange.com/

R3’s Tim Swanson: A Public Blockchain Has Settlement Risks
https://www.cryptocoinsnews.com/r3s-tim-swanson-a-public-blockchain-has-settlement-risks/

Develop Blockchain applications on Azure
https://amp.twimg.com/v/cc95e7b3-84b3-467b-9af6-51ea6e7f32af

Sidechains, Drivechains, and RSK 2-Way peg Design
http://www.rootstock.io/blog/sidechains-drivechains-and-rsk-2-way-peg-design

ConsenSys (@ConsenSysLLC) | Twitter
https://twitter.com/ConsenSysLLC

Eris Industries | eris:db
https://erisindustries.com/components/erisdb/

Ethereum Emerges, Bitcoin vs. “Bankchains” :: Blockchain Letter, March 2016
https://medium.com/@PanteraCapital/ethereum-emerges-bitcoin-vs-bankchains-blockchain-letter-march-2016-7e53444bda3f#.gm7inzd3p

Zcash – Hello, World!
https://z.cash/blog/helloworld.html

EB122 – Zooko Wilcox: Zcash – An Open Financial System With Privacy – YouTube
https://www.youtube.com/watch?v=M7CMU5OMEgE&feature=youtu.be

My Links
http://delicious.com/ajlopez/blockchain

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

October 14, 2016

Blockchain: Links And Resources (8)

Filed under: Bitcoin, Blockchain, Ethereum, FinTech, Links — ajlopez @ 9:34 am

Previous Post
Next Post

Elliptic takes in $5M for its blockchain forensics tool | TechCrunch
http://techcrunch.com/2016/03/21/elliptic-takes-in-5m-for-its-blockchain-forensics-tool/

CARDANO
http://cardano.io/index_e.html

Bitcoin Descendant NXT Features 100% New Code, Green Mining, Decentralized Trading
http://finance.yahoo.com/news/bitcoin-descendant-nxt-features-100-051500739.html

Blockchain Tech Lab
http://blockchaintechlab.com/

Eris Industries
https://erisindustries.com/

A Journal of Musical ThingsDoes Blockchain Hold the Key to Music’s Future?
http://ajournalofmusicalthings.com/blockchain-hold-key-musics-future/

Ethereum Emerges, Bitcoin vs. “Bankchains” :: Blockchain Letter, March 2016
https://medium.com/@PanteraCapital/ethereum-emerges-bitcoin-vs-bankchains-blockchain-letter-march-2016-7e53444bda3f#.xd776wyyf

Lawrence Lundy (@lawrencelundy) | Twitter
https://twitter.com/lawrencelundy

The best free research papers on fintech and blockchain | BankNXT
http://banknxt.com/55778/research-fintech-blockchain/

Blockchain-based microgrid gives power to consumers in New York | New Scientist
https://www.newscientist.com/article/2079334-blockchain-based-microgrid-gives-power-to-consumers-in-new-york/

Consensus 2016 – CoinDesk
http://www.coindesk.com/events/consensus-2016/

Gatecoin CEO: Ethereum Drastically Increased Our Trading Volumes
http://www.financemagnates.com/cryptocurrency/interview/gatecoin-ceo-ethereum-drastically-increased-our-trading-volumes/

DisLedger_Whitepaper_23Feb2016a.pdf
http://www.disledger.com/DisLedger_Whitepaper_23Feb2016a.pdf

Rootstock – Smart Contracts on the Bitcoin Blockchain | CryptoIQ
http://blog.cryptoiq.ca/?p=320

Christian Lundkvist (@ChrisLundkvist) | Twitter
https://twitter.com/ChrisLundkvist

Slock.it – Blockchain IoT
https://slock.it/

Eight Months Since Release, Ethereum Is Second Only To Bitcoin
http://cointelegraph.com/news/eight-months-since-release-ethereum-is-second-only-to-bitcoin

Drivechain – The Simple Two Way Peg | Truthcoin: Making Cheap Talk Expensive
http://www.truthcoin.info/blog/drivechain/

Eris Industries
https://erisindustries.com/

Azure Blockchain as a Service Update #4 | Blog | Microsoft Azure
https://azure.microsoft.com/en-us/blog/azure-blockchain-as-a-service-update-4/

My Links
http://delicious.com/ajlopez/blockchain

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

October 13, 2016

Blockchain: Links And Resources (7)

Filed under: Bitcoin, Blockchain, Ethereum, FinTech, Links — ajlopez @ 9:47 am

Previous Post
Next Post

Microsoft Explores Adding Ripple Tech to Blockchain Toolkit
http://www.coindesk.com/microsoft-hints-future-ripple-blockchain-toolkit/

Azure Blockchain as a Service update | Blog | Microsoft Azure
https://azure.microsoft.com/en-us/blog/azure-blockchain-as-a-service-update/

Ripple Releases Interledger to Connect Bank and Blockchain Worlds
http://www.coindesk.com/ripple-interledger-connect-bank-blockchain/

Africa’s big banks are betting on fintech startups and bitcoin to beat disruption
http://qz.com/618674/africas-big-banks-are-betting-on-fintech-startups-and-bitcoin-to-beat-disruption/

Tokken Puts the Legal Marijuana Industry on the Immutable Bitcoin Blockchain
http://bitcoinist.net/tokken-puts-the-legal-marijuana-indsutry-on-immutable-bitcoin-blockchain/

Microsoft continues its blockchain-as-a-service push | ZDNet
http://www.zdnet.com/article/microsoft-continues-its-blockchain-as-a-service-push/

Lessons Learned from BitShares 0.x – BitShares
https://bitshares.org/blog/2015/06/08/lessons-learned-from-bitshares-0.x/#technology-lessons

Technical Roadblock Might Shatter Bitcoin Dreams
https://www.technologyreview.com/s/600781/technical-roadblock-might-shatter-bitcoin-dreams/

The Looming Problem That Could Kill Bitcoin
https://www.technologyreview.com/s/540921/the-looming-problem-that-could-kill-bitcoin/

Ukraine Embraces Ethereum Blockchain For Election Transparency – NEWSBTC
http://www.newsbtc.com/2016/02/12/ukraine-embraces-ethereum-blockchain-for-election-transparency/

Ethereum Computation Market
http://www.ethereum-computation-market.com/

Block Size Debate Attracts Interest From US Government – The Merkle
http://themerkle.com/news/block-size-debates-attracts-interest-from-us-government/

Bitcoin Block Size Debate – Segregated Witness Roadmap – The Merkle
http://themerkle.com/news/bitcoin-block-size-debate-segregated-witness-roadmap/

Capacity increases FAQ — Bitcoin Core
https://bitcoin.org/en/bitcoin-core/capacity-increases-faq

The Merkle
http://themerkle.com/

Bankchains Could Be A Mix of Bitcoin And Ethereum Technology – The Merkle
http://themerkle.com/news/bankchains-could-be-a-mix-of-bitcoin-and-ethereum-technology/

Enigma
http://enigma.media.mit.edu/

MIT’s New Blockchain Project Enigma Wants To Let You Share Your Data On Your Terms
https://www.fastcompany.com/3054976/elasticity/mits-new-blockchain-project-enigma-wants-to-let-you-share-your-data-on-your-terms

oblivm.com/hawk/index.html
http://oblivm.com/hawk/index.html

Zcash – All coins are created equal.
https://z.cash/

My Links
http://delicious.com/ajlopez/blockchain

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

« Newer PostsOlder Posts »

Blog at WordPress.com.