You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Privy Transfer - Transfer tokens using Privy delegated wallets with sponsored transactions
26
28
* Privy Ultra - Swap tokens using Jupiter Ultra with Privy delegated wallets
27
29
* Privy Trigger - Create and manage limit orders with Privy delegated wallets
@@ -506,6 +508,113 @@ config = {
506
508
-`wallets` - List of embedded wallets with address, chain_type, and delegation status
507
509
-`has_wallet` - Boolean indicating if the user has at least one wallet
508
510
511
+
### DFlow Prediction Market
512
+
513
+
This plugin enables Solana Agent to discover and trade prediction markets on Solana via DFlow's Prediction Market API. It includes safety-first features to help users avoid scams.
514
+
515
+
⚠️ **PREDICTION MARKET RISKS:**
516
+
Unlike token swaps, prediction markets carry unique risks that cannot be fully detected:
517
+
-**Insider trading**: Market creators may have privileged information
518
+
-**Resolution risk**: Markets may resolve unfairly or not at all
519
+
-**Liquidity traps**: You may not be able to exit your position
520
+
521
+
This tool applies safety filters and provides warnings, but cannot guarantee market legitimacy. Only bet what you can afford to lose. Prefer established series (major elections, sports).
522
+
523
+
```python
524
+
config = {
525
+
"tools": {
526
+
"dflow_prediction": {
527
+
"private_key": "my-private-key", # Required for trading - base58 string
528
+
"rpc_url": "https://mainnet.helius-rpc.com/?api-key=YOUR_KEY", # Required for trading
529
+
530
+
# Optional - Platform fee collection
531
+
"platform_fee_bps": 50, # Fee in basis points (0.5%)
532
+
"fee_account": "your-usdc-token-account", # Account to receive fees
This plugin enables Solana Agent to discover and trade prediction markets on Solana via DFlow's Prediction Market API using Privy delegated wallets. Same features as DFlow Prediction but for Privy embedded wallet users.
581
+
582
+
```python
583
+
config = {
584
+
"tools": {
585
+
"privy_dflow_prediction": {
586
+
"app_id": "your-privy-app-id", # Required - your Privy application ID
587
+
"app_secret": "your-privy-app-secret", # Required - your Privy application secret
0 commit comments