Eigen zkVM logo
    ___   
   /\__\  
  /:/__/_ 
 /::\/\__\
 \/\::/  /
   /:/  / 
   \/__/  

Integration with your DApps

It’s easy to integrate DApps with EigenSecret via SecretSDK. To initialize the SecretSDK instance, you need ,

user: ethers.Signer = <your address>
const signature = await signEOASignature(user, rawMessage, user.address, timestamp);
const ctx = new Context(
  alias,
  user.address,
  rawMessage,
  timestamp,
  signature
);
const contractJson = require(defaultContractFile);

let secretSDK = await SecretSDK.initSDKFromAccount(
    ctx, defaultServerEndpoint, password, user, contractJson, defaultCircuitPath, defaultContractABI
);

The password is to encrypt your L2 account currently, but will be deprecated and replaced by Google Drive, or external TSS key service to host in the next version.

The SecretSDK provides quite simple account and transaction interface.

Check out tasks and learn how to use the interfaces.


See a mistake? Open a pull request.

https://github.com/0xEigenLabs/0xeigenlabs.github.io/blob/master/src/secret/integration.md