Creating a Link

Creating a link

Links can be created at:

  • the web-app,
  • using the SDK

However the links is created, the process followed will be largely the same.

  1. Random keypair generated.
  2. Signature generated on deposit id to protects the funds.
  3. Funds are deposited into the contract with the public key.
  4. Deposit confirmation returned with vault address.
  5. ParrotLink link created.

Each time crypto is deposited, we're creating a random seed to protect the funds. This is used to generate signatures, and the public key, which is stored along with the funds in vault contracts.

Once confirmation of the deposit is received, a link is created using the hashed signature, the deposit ID, and it includes the deposited value.