Skip to content

Automated On-Chain Actions #230

Description

@briang123

NOTE: Some ideas of automated on-chain actions. Not saying all should be included, but is more of a starting place to further refine.

Neur: Automated On-Chain Actions (Solana)

Automated actions that can be executed via smart agents to provide real DeFi utility for Neur users. Each action is built around on-chain events, triggers, or scheduled behaviors using Solana-native tooling.


Key Automated Actions

1. Auto-Stake / Unstake Based on Yield Thresholds

  • Action: Stake SOL or SPL tokens when APY > threshold, and unstake when it drops below.
  • Use Case: Maximize yield without manual monitoring.
  • Stack:
    • @solana/web3.js or Anchor framework
    • Marinade / Jito / Lido SDKs
    • RPC or API monitoring for validator APY

2. Auto-Rebalance Wallet Allocations

  • Action: Rebalance wallet assets to maintain target allocations (e.g., 50% SOL, 30% mSOL, 20% USDC).
  • Use Case: Passive portfolio management.
  • Stack:
    • Jupiter Aggregator SDK (for swaps)
    • SPL Token program
    • Crono or Clockwork for automation

3. Auto-Claim Airdrops or Rewards

  • Action: Automatically claim staking or farming rewards as they become available.
  • Use Case: Avoid missed rewards, optimize compounding.
  • Stack:
    • Protocol SDKs (Raydium, Orca, MarginFi)
    • Solana Web3.js
    • Scheduled triggers (Clockwork, Switchboard, Crono)

4. Auto-Sell Profits Over Threshold

  • Action: Monitor token prices and sell a percentage when value exceeds a profit threshold (e.g., +20%).
  • Use Case: Profit capture strategy.
  • Stack:
    • Jupiter Aggregator SDK
    • Price feeds via Pyth or Switchboard
    • Clockwork or Crono for automation

5. Auto-Borrow / Repay Loans Based on LTV

  • Action: Automatically borrow against or repay loans when loan-to-value ratio hits specific thresholds.
  • Use Case: Leverage safely or avoid liquidations.
  • Stack:
    • Solend / Kamino / MarginFi SDKs
    • Pyth or Switchboard price feeds
    • Custom LTV watchers or triggers

6. Recurring Token Buys (DCA)

  • Action: Schedule automatic purchases of tokens on a recurring basis (e.g., buy $10 of SOL every week).
  • Use Case: Long-term investment via Dollar-Cost Averaging.
  • Stack:
    • Jupiter Aggregator SDK
    • Crono / Clockwork for recurring schedules
    • Wallet signer automation

7. Auto-Bridge Between Chains Based on Fees or Yield

  • Action: Bridge assets to/from Solana based on fee conditions or better yield opportunities.
  • Use Case: Cross-chain yield optimization.
  • Stack:
    • Wormhole SDK
    • Liquidity monitoring scripts
    • Custom bridge routing logic

8. Auto-Delegate / Vote in Governance

  • Action: Automatically vote or delegate governance tokens based on predefined preferences.
  • Use Case: Passive DAO participation.
  • Stack:
    • Realms SDK (Solana Governance)
    • Solana Web3.js or Anchor
    • Proposal watcher logic

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature considerationpending informationIs not clear enoughroadmapFeature is on the roadmapv1.0Targeting for v1.0 Release

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions