Now I have implemented data access by writing the keys of key-value pair in the smart contract and passing the values written in the sdk to the smart contract via the ApplicationArgs parameter.
But I have some doubts about smart contracts.
- Can I write the keys of the key-value pair in the sdk, i.e. the data is written entirely in the sdk, so that I can dynamically pass the data to the smart contract via an external function.
- How can I quickly query the value in the key-value pair by key in the sdk? I.e., implement the indexing function for key-value pairs