The example code for eth-lightwallet that shows how to use it with the hooked web3 provider can be configured to use the local node as follows:
var ethClient = "http://localhost:1111";
var web3 = new Web3();
var global_keystore;
function setWeb3Provider(keystore) {
var web3Provider = new HookedWeb3Provider({
host: ethClient,
transaction_signer: keystore;
});
web3.setProvider(web3Provider);
}
The example_usage.js that demonstrates the use of txutils however does not show how the eth node can be set. Can anyone advise?
example_usage.js starts...
// Example usage: Name Registry
// Create the contract, register the key 123, set the value 456
var lightwallet = require('../index.js')
var txutils = lightwallet.txutils
var signing = lightwallet.signing
var encryption = lightwallet.encryption
.....