I have deployed a cryptocurrent on Private testNet from here. I have deployed two contracts, lets call them contract1 and contract2. Contract1 has less features than contract2 (like transferFrom() functionality was removed).
Now I am using
geth --identity "XXXX" --fast --cache=1024 --jitvm --rpc --rpcport "yyyy" --rpccorsdomain "*" --datadir "chaindata" --port "xxxx" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --rpcapi "db,eth,net,web3,admin,debug,miner,personal,web3" --autodag --networkid xxxx --nat "any" -ipcpath "/home/pr.singh/.ethereum/geth.ipc" console
to connect to geth console. Now I want to execute transfer() function of contract2. I know how to do it from geth console (using abi defination fo contract). But how to do it using web browser. What request do I need to send and HOW?
When I hit url http://localhost:yyyy/ (where yyyy is my rpcport) , I get {"jsonrpc":"2.0","error":{"code":-32600,"message":"EOF"}} as output, so I know my port is working fine.
But in what format do I need to send data to this port. Like how will it know which method of which contract needs to be executed. Any tutorial avilable on that. TIA.