In order to get started, you need to know the network where the crypto security is deployed (Ethereum or Polygon PoS) and the smart contract account address of the crypto security.
Then, simply connect to an RPC provider serving the network where the crypto security is deployed. The following script shows a Node.js example using the web3 module:
constWeb3=require("web3")constprovider="<HTTP endpoint of you RPC provider for the DLT network";const { abi } =require("<path to the contract ABI");consttokenAddress="<smart contract account address>";constWeb3Client=newWeb3(newWeb3.providers.HttpProvider(provider));constcontract=newWeb3Client.eth.Contract(abi, tokenAddress);
Using this basic setup you can now start to interact with the crypto security. For example, you can call the name of the crypto security using the ERC-20 "name" function.