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="0x3bcf94772d2a5c932f055b64f7604ef4809d7a537fcb9b1e60279ead391bec09" />;
}

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