Integrate incoJS into your existing JavaScript/TypeScript project.
@inco/js
includes 3 steps:
@inco/js
functionality. We recommend using viem to interact with the blockchain. Specifically, use the writeContract
method to submit transactions. Pass the ciphertext
from the previous encryption step as the input ciphertext parameter of type bytes
.
resultHandle
, is a hexadecimal string of type Handle
that serves as a reference to the encrypted computation output.