References/Examples

These repos in the workspace are useful references for building on trac-peer:

Reference apps

  • intercom/

    • Shows a real project that depends on trac-peer and builds features/contracts on top of it.

    • See: intercom/docs/CREATING_AN_APP_WITH_TRAC_PEER.md

    • In-repo walkthrough: docs/10-intercom-example.md

  • trac-dapp-example/

    • A simple Next.js dApp that talks to a peer RPC and uses the wallet extension to sign contract txs.

Wallet extension

  • tap-wallet-extension/

    • Injects window.tracnetwork and implements tracSignTx approvals.

Last updated