SwisstronikJS SDK
Last updated
Last updated
To make sure your interactions with the Swisstronik blockchain go smoothly, it's essential to use SwisstronikJS. This guarantees the security of your data by encrypting it before sending transactions and decrypting responses from the nodes.
Swisstronik JS SDK is a JavaScript library designed to enhance the privacy of interactions within the Swisstronik blockchain by encrypting the data of the transactions & decrypting the queries from the nodes. It offers a suite of encryption and decryption functionalities, enabling developers to safeguard sensitive data within Swisstronik decentralized applications (dApps).
Open your terminal and navigate to the main root of your Hardhat project. From there, you can run the command npm i @swisstronik/utils
There are 2 types of functions you can invoke within a blockchain:
Writing functions : Functions that write, change, or delete any value in a smart contract.
Reading functions : View functions in the blockchain, where you don't change any state of a smart contract, instead, you retrieve the value of a variable within a smart contract.