I am at the point where I have migrated my smart contract to a local copy of the TestRPC test client.
1) Using a Node.JS app running on the same PC as the TestRPC test client, can I use the deploy() function to deploy a new instance of my smart contract to the locally running TestRPC client? Or is that only possible with a test net like Rinkeby, etc. or the Ethereum main net as the deploy target?
2) Same question but for accessing smart contracts via the Web3.js library. Can I use that library to interact with the smart contract instance running in the local TestRPC client from a Node.js app running on the same pC.
If anyone has any links to any good samples that shows how to migrate/deploy a smart contract and access the smart contract's
view functions from a Node.JS app using the Web3.js library, please share.