BLOCKCHAIN TECHNOLOGY CONSULTING
  • Home
  • Research
  • About

2/22/2019

ETHEREUM: amazon kaleido, enterprise ethereum platform

Read Now
 
This is how to setup account to testing an application between computers via custom RPC network.
1: Go to https://console.kaleido.io/login?refAction=homepage-top-nav
2: Create an account for free. Here is the instruction link below.
​https://www.youtube.com/watch?v=EJEVqHHzQ2U&t=708s 
Picture
3: Sign-in, it should look like below and click your institute. 
Picture
4: Create node and add services you want. 
I created 3 nodes for no reason, there are usefull services such as IPFS file sharing. 
Picture
5: Add New App Credentials and click one of your node to connect to Metamask (If you don't know Metamask and please check my previous post). 
Copy the password, you will need to connect to the node. 
Picture
Picture
6: Click one of the node, scroll down and click "Connect Node". 
Picture
7: Choose native JSON/ RPC, choose the credential name and paste the password you copied.  
Picture
8: You should be seeing this page below. 
CONNECTION URL (at the bottom) is the link you need to connect via metamask. So copy the link. 
Picture
9: Signin metamask and click Networks which is at the top of the window.
And click custom RPC. 
Picture
10: Scroll down a little and copy and paste the CONNECTION URL into New Network box (new RPC URL) and save. 
And done now you are connected to private Ethereum network node which you created on Kaleido. 
Picture
11: Let's add some Ether! 
​Go to main page and click Ether Pool.
Copy and paste your Metamask address and send ether as much as you want.
(I think this is limited to 1 billion Ether)
Picture
Picture
Picture
12: You are now connected and ready to use the Ethereum network with the fund. 
Now go to https://remix.ethereum.org
and create smart contract if you are a programmer. 
If not this is the test I did. 
​https://github.com/Hirokomiya/message/blob/master/message.sol
Choose compiler at version:0.4.18+commit.9cf6e910 and deploy
Picture
13: copy and paste the smart contract address. in my case it is here
0xa98d32c0c32b1131973f92a8be4ed73e0b2665a3
Picture
14: Deploy the same contract at the same contract address.
Copy and paste the contract address and click "At Address". You are calling the app so that it doesn't cost GAS. (It is good to be free even though it is private network Ether)
The window below is signed in to different Metamask account and already connected to Kaleido node. Do the same thing from instruction 5 - 10. 
Picture
Sample
Sending "Hello world!!"
from 
0x6cd1b82490eb7aa18bec4305c6c2e691194c6898

​to
0x2c1cc5eecd5e9d332e8d21d1c03849c27b90796b

at the smart contract address
0xa98d32c0c32b1131973f92a8be4ed73e0b2665a3

with this app
https://github.com/Hirokomiya/message/blob/master/message.sol
Picture
Picture
Extra, what I tested
1: If you give your credential URL to others to connect,  your connection will automatically be cut and the next one will be able to connect. 
2: The smart contract will not work as the same app if you changed the code. 

Share


Comments are closed.
"website and the information contained herein is not intended to be a source of advice or credit analysis with respect to the material presented, and the information and/or documents contained in this website do not constitute investment advice."
  • Home
  • Research
  • About