Geth client or web3 js code integration with smart contract

HinaHina Member Posts: 10
Hi,
I am writing the contracts in solidity.And there are some filters or events,written on geth client using web3 js API on which I am listening.
But that js code will remain local to geth client and once I close the session that filter will be destroyed.
How can I integrate the JS code with solidity or any other option so that I have that code available on my network.
Sign In or Register to comment.