tontip

1.3.1 • Public • Published

tontip

Usage

bun i tontip@latest

tontip is a web component, so you can use it in any framework, or even in plain html.

Tip config should at least be 0.1, invalid values like 0.00001, 0.099999 will be discarded. value less than 0.1 is useless, because that would be a waste of gas. You can also use a jsDelir CDN, the urls are like:

https://cdn.jsdelivr.net/npm/tontip@1.2.0/dist/tontip.iife.js

or

https://cdn.jsdelivr.net/npm/tontip@latest/dist/tontip.iife.js

<ton-tip receiver="UQDMiUFV3oqR8ZUKG6KtE_SJjSe7B2_usm3O4KlzzPZwAkaH" tips="0.1,2,3,4,5">
    <div id="ton-connect-tip-btn"></div>
</ton-tip>
<script src="/tontip.iife.js"></script>

Readme

Keywords

none

Package Sidebar

Install

npm i tontip

Weekly Downloads

1

Version

1.3.1

License

none

Unpacked Size

2.29 MB

Total Files

4

Last publish

Collaborators

  • joey_xf