@driphq/drip
v0.2.0
Published
Chain-abstracted agent funding URLs — powered by Rhinestone
Maintainers
Readme
@driphq/drip
Chain-abstracted agent funding URLs — powered by Rhinestone.
Install
npm install @driphq/dripUsage
import { drip } from '@driphq/drip';
const url = drip({
toAddress: '0x1234567890abcdef1234567890abcdef12345678',
agentName: 'MyAgent',
toAmount: 50,
});
// Share this URL — the sender funds from any chain, any token.
// => https://drip.rhinestone.wtf/pay?toAddress=0x...&agentName=MyAgent&toAmount=50API
drip(params, baseUrl?)
Returns a Drip payment URL string.
params
| Param | Type | Required | Description |
|---|---|---|---|
| toAddress | string | Yes | Agent wallet address (0x...) |
| agentName | string | No | Display name shown to sender |
| agentLogo | string | No | Agent avatar URL |
| toAmount | number \| string | No | Requested amount in USD |
| minAmountUSD | number | No | Minimum accepted deposit in USD |
baseUrl
Defaults to https://drip.rhinestone.wtf. Override for self-hosted instances.
Why Drip?
Other agent payment tools require a destination chain and token. Drip only needs the wallet address. The sender picks their source — the agent receives funds and can spend on any chain via the Rhinestone orchestrator.
