Clarigen with Node.js
When using Clarigen in a Node.js (i.e. server-side) environment, many of the same patterns can be used as with the web client.
The main difference is that you'll sometimes want to sign and broadcast transactions using a private key.
Signing contract call transactions
To sign and broadcast a contract call transaction, utilize the @stacks/transactions
package. Similar to making transactions on the web, use the "spread" syntax to pass options to the makeContractCall
function.