Back to article

embed preview

Drop this into your blog.

The widget below is the same component that @tipitip/embed renders on any React-based site. Tip counters stream live from the on-chain TipJar; the heart on each paragraph deep-links to the canonical article page where the wallet transaction happens. Your readers stay on your site, your tips land in your wallet.

copy-paste snippet

import { TipParagraphs } from "@tipitip/embed";

export default function MyArticle() {
  return <TipParagraphs articleId="0x68de3a2aea90c6c433d305d3b35ba371986fd6f93bccaaf21c9b46668a033111" />;
}

Install via pnpm add @tipitip/embed (or npm / yarn). Peer deps: react ≥ 18, react-dom ≥ 18. No viem / wagmi required.

how it renders

Loading article…

TipiTipv0.1.0-alpha · MIT · per-paragraph cUSD tipping on Celo
Celo MainnetGitHub