Different widgets / plugins for capabilities like airdrop claiming, token locks
Widgets are built with preact and preactement
Check the interactive demo here
All supported parameters: WidgetInput
<sf-airdrop-claim
name="CROP-G"
distributor-id="8bzG3zcHcWCSBvJwDNr7SwCD7u1cNkSyPTrqERgHFEaw"
endpoint="<YOUR_RPC_ENDPOINT>"
token-decimals="9"
token-symbol="CROP-G"
></sf-airdrop-claim>
<script
src="https://widgets.streamflow.finance/widgets/airdrop-claim/airdrop-claim-0-0-1.js"
type="module"
></script>
<sf-airdrop-claim
name="CROP-G"
distributor-id="8bzG3zcHcWCSBvJwDNr7SwCD7u1cNkSyPTrqERgHFEaw"
endpoint="<YOUR_RPC_ENDPOINT>"
token-decimals="9"
token-symbol="CROP-G"
></sf-airdrop-claim>
<script
src="https://widgets.streamflow.finance/widgets/airdrop-claim/airdrop-claim-0-0-1.js"
type="module"
></script>
<style>
sf-airdrop-claim {
--brand: 255 0 0;
--text: 12 96 244;
}
</style>
on
syntax<sf-airdrop-claim
onInit={(event) => {
/* handling */
}}
></sf-airdrop-claim>
npm run dev
- Starts a dev server at http://localhost:5173/
npm run build
- Builds for production, emitting to dist/
npm run preview
- Starts a server at http://localhost:4173/ to test production build locally