Ethereum Community Forum
Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
Smart Contracts and Dapps
›
Solidity
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Unanswered
39
Best Of...
Categories
17.3K
All Categories
9.5K
Mining
574
Pool Discussion
378
Promotional
1.4K
General Project Discussion (non-technical)
485
Education
811
Protocol and Client discussion
170
web3-js
29
Whisper
16
Swarm
3
RLP
303
IoT & Hardware
1.2K
Smart Contracts and Dapps
28
Serpent
359
Solidity
664
Projects
1.2K
Reference clients code and builds
249
Eth & AlethZero- Cpp Implementation
471
Geth - Go Implementation
242
Mist
15
Node.js Implementation
36
Python Implementation
49
Mix
36
Other Implementations
170
Meetups
40
Other Events
226
Jobs & Skills
281
Press and Articles
75
Audio/Video
296
Ether Sale
1.2K
Other Languages
96
Chinese
255
German
33
Italian
111
French
3
Hebrew
42
Japanese
75
Portugese
46
Romanian
185
Russian
231
Spanish
47
Turkish
125
Watercooler
27
Meta
Vega Finally Unleashed! Fine-tuned performance and power consumption in a single chassis.
How to call smart contract from a node in geth? If thats not possible from where and how 2 call it?
trial2try
Member
Posts:
9
✭
May 2016
in
Solidity
I have the the contract address. If i need to call that contract from a node in geth how can i achieve ??
If that contract contains arguments then how to pass these arguments when a call is made to the smart contract?
0
·
Share on Twitter
Share on Facebook
Comments
smalltalk
Member
Posts:
16
✭
May 2016
edited May 2016
You not only need the address but also the ABI for the contract. Then you can do the following:
var contractABI = web3.eth.contract([{ abi code }]);
var aContract = contractABI.at(" ContractAddress ");
Post edited by smalltalk on
May 2016
1
·
Share on Twitter
Share on Facebook
Sign In
or
Register
to comment.
Comments
var contractABI = web3.eth.contract([{ abi code }]);
var aContract = contractABI.at(" ContractAddress ");