@tiplink/api
TypeScript icon, indicating that this package has built-in type declarations

0.2.7 • Public • Published

TipLink API

Full Documentation

What is TipLink?

TipLink is a lightweight wallet designed to make transferring digital assets as easy as sending a link. Our non-custodial wallet allows you to have complete control of your assets by connecting your Gmail account or Solana wallet.

Someone with crypto can create a TipLink and send that link to anyone over any platform (text, discord, email, etc). The amazing thing is, the link is the wallet!

TipLink offers the benefits of decentralization and self-custody without worrying about seed phrases, arcane key management, apps, and browser extensions.

Basic Installation instructions

npm install @tiplink/api

Import Instructions

import { TipLink } from '@tiplink/api';

Create a TipLink

TipLink.create().then(tiplink => {
  console.log("link: ", tiplink.url.toString());
  console.log("publicKey: ", tiplink.keypair.publicKey.toBase58());
  return tiplink;
});
const tp = 'https://tiplink.io/i#TIPLINK_HASH';
TipLink.fromLink(tp).then(tiplink => {
  console.log("converted publicKey: ", tiplink.keypair.publicKey.toBase58());
  return tiplink;
});

Note: If adding as a local path or GitHub URL, run npm install and npm run build manually in your build processes.

Package Sidebar

Install

npm i @tiplink/api

Weekly Downloads

462

Version

0.2.7

License

LicenseRef-LICENSE

Unpacked Size

136 kB

Total Files

27

Last publish

Collaborators

  • jac0xb
  • jackson-techne-xyz
  • joeypereira
  • alex-tiplink
  • wisefool769