powered by
admin_setSolc sets the Solidity compiler path to be used by the node when invoking the eth_compileSolidity RPC method.
admin_setSolc
admin_setSolc(path)
String - Solidity compiler path defaults to /usr/bin/solc if not set, so you only need to change it for using a non-standard compiler location.
Other admin functions: admin_addPeer, admin_datadir, admin_nodeInfo, admin_peers, admin_startRPC, admin_startWS, admin_stopRPC, admin_stopWS, gethr
admin_addPeer
admin_datadir
admin_nodeInfo
admin_peers
admin_startRPC
admin_startWS
admin_stopRPC
admin_stopWS
gethr
# NOT RUN { admin_setSolc('/usr/bin/solidityc') # } # NOT RUN { # }
Run the code above in your browser using DataLab