@tippingchain/contracts-interface
v1.6.1
Published
Public contract interfaces and ABIs for TippingChain
Maintainers
Readme
TippingChain Contracts Interface
This package provides the interface for interacting with TippingChain smart contracts. It includes the ABI, contract addresses, and TypeScript types for seamless integration with frontend and backend applications.
Overview
TippingChain is a decentralized tipping platform for streaming services, enabling direct payments to content creators across multiple blockchain networks. This interface package facilitates interaction with the deployed smart contracts, supporting features like tipping creators, viewer rewards, and administrative functions.
Features
- ABI Definitions: JSON ABI for the
StreamingPlatformTippingcontract. - TypeScript Types: Type definitions for contract interactions, including membership tiers and network configurations.
- Contract Addresses: Deployment manifest with addresses for supported chains (mainnet and testnet).
- Network Configurations: Constants and helpers for supported blockchain networks.
- Tipping: Users can send tips to creators with supported tokens or native currency.
- Viewer Rewards: Mechanism to reward viewers for engagement, with configurable fees.
- Membership Tiers: Different tiers for creators affecting revenue splits (60/40 to 90/10).
- Admin Roles: Support for administrative functions like managing creators and relayers.
- Cross-Chain Relay: Integration with relay.link for cross-chain token transfers.
Installation
npm install @tippingchain/contracts-interfaceSupported Chains
- Base (8453)
- ApeChain (33139)
In Progress Chains
- Ethereum (1)
- Polygon (137)
- Optimism (10)
- Binance Smart Chain (56)
- Abstract (2741)
- Avalanche (43114)
- Arbitrum (42161)
- Taiko (167000)
License
MIT
