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

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