tontip
v1.3.1
Published
```shell bun i tontip@latest ```
Downloads
9
Readme
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/[email protected]/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>