Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- It'sJ53t4T3St!12
- pragma solidity ^0.4.18;
- contract key {
- string a="123";
- /* Constructor */
- function ShowKey() public constant returns(string) {
- return a;
- }
- }
- --
- geth --rinkeby console 2>>c:\trash.txt
- --
- web3.eth.contract([{constant:true,inputs:[],name:"ShowKey",outputs:[{type:"string"}],type:"function"}]).at("0x4ab57f1bfacfa668640ee7f464ae73af28810fb3").ShowKey();
- --
- 0x249AB46ee4e1aD3dd2d35147e346e86E1C2d2a17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement