Package Exports
- @tiplink/api
- @tiplink/api/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tiplink/api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
TipLink API
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/apiImport 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.