Share file

Syntax

eueno.shareTo(opts)

Example

const Eueno = require('@eueno/lib-node');

async function example() {
  const eueno = new Eueno({
    endpoint: 'https://v2-developers.eueno.io',
  });

   const data = await eueno.shareTo(
    {
      fileId: "file id want to share",
      projectKey: "project key,
      projectId: "project id",
      walletPrivateKey: "wallet private key of owner data",
      walletPublicKeyShare: "wallet public key of shared person,
    },
  );
}


example();

Parameters

Properties

opts

Last updated