Angel \”Java\” Lopez on Blog

November 28, 2016

MultiCurrency in Ethererum/RSK (1)

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

In my post serie about connecting blockchains, I’m writing about exchange (value one to one, without change of value) between two popular heterogeneous blockchains (BitCoint and Ethereum/RKS). I’m a member of the development team of @RSKSmart, but those posts are personal opinions: the real work by the team was not published yet.

Another path to explore, is to have, in the SAME blockchain, many cryptocurrencies. My thought is that it could be done in Ethereum/RSK.

In Ethereum, there are accounts with state, and the account state includes the cryptocurrency balance for the account. There is a “default” currency, the Ether. But I think this model could be easily extended.

Each account has a currency, too. The “default” cryptocurrency should be the Ether, but some accounts could be created with ANOTHER cryptocurrency as default currencty. Then, they form a separated set of accounts. One account with currency X, can transfer and can borrow value from another account with THE SAME CURRENCY X. In this way, the new set of account could leverage all the infrastructure of Ethereum, to have a pool of accounts that manage a “coloured” currency value, separated from the default/main one.

In the next post, I want to write about:

– How to define a new currency
– How to create an account with a new currency
– How to transfer between accounts with the same currency
– How to transfer between accounts with different currencies

Stay tuned!

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

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: