Aster Deposit Fund logo

Aster Deposit Fund

Organization
asterdex
aster-deposit-fund

Deposit funds to Aster from a wallet; private key from env. Use when the user wants to deposit to Aster or fund an Aster account.

Overview

Publisherasterdex
Repositoryaster-skills-hub
Skill nameaster-deposit-fund
Stars
69
Forks
12
Bundled files
7
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by asterdex on GitHub. Read the source before you install it.

Installation

Install the Aster Deposit Fund AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/asterdex/aster-skills-hub/tree/main/skills/aster-deposit-fund
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/asterdex/aster-skills-hub.git /tmp/aster-skills-hub
mkdir -p .claude/skills
cp -r /tmp/aster-skills-hub/skills/aster-deposit-fund .claude/skills/aster-deposit-fund
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Aster Deposit Fund in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Aster Deposit Fund on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Aster Deposit Fund is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Aster Deposit Fund

Env

VarRequiredDescription
ASTER_DEPOSIT_PRIVATE_KEYYes (deposit)Wallet private key (0x + 64 hex). Used to sign on-chain deposit txs. Never log or echo.
ASTER_WALLET_ADDRESSYes (balance)Public wallet address. Used by balance.mjs for read-only queries.
ETH_RPC_URLRecommendedPrivate Ethereum RPC (Alchemy, Infura). Public fallback used if unset.
BSC_RPC_URLRecommendedPrivate BSC RPC.
ARBITRUM_RPC_URLRecommendedPrivate Arbitrum RPC.

Supported chains

ChainchainId
ETH (Ethereum)1
BSC56
Arbitrum42161

User confirmation

MANDATORY — Before executing ANY deposit transaction, the agent MUST:

  1. Display a clear summary to the user:
    • Chain and chainId
    • Asset symbol and contract address (for ERC20)
    • Amount (human-readable AND raw wei/units)
    • Deposit (treasury) address
    • Broker ID (if non-default)
    • Estimated gas cost
  2. Ask for explicit textual confirmation (e.g. "Type 'confirm' to proceed" or "yes/no").
  3. Do NOT assume consent from a prior message, implicit agreement, or context.
  4. Do NOT batch multiple deposits without individual confirmation for each.
  5. If the user cancels or does not confirm, abort immediately with no on-chain action.

Failure to confirm is a critical safety violation in an autonomous agent context.

Flow

  1. Deposit address — Hardcoded per chain in scripts/common.mjs (SEC-01). Same address for native and ERC20 on that chain.
  2. Balance check — Verify the wallet has sufficient balance for the deposit amount + gas BEFORE submitting any transaction (SEC-06).
  3. User confirmation — See above. Always confirm before executing.
  4. On-chain send — From wallet (key from env), sign with appropriate RPC for chain:
    • Native: treasury.depositNative(broker) with value = amount (wei).
    • ERC20: token.approve(treasury, amount) then treasury.deposit(token, amount, broker). Token metadata (contract + decimals) is provided explicitly (no API lookup).
    • All transactions use an explicit gas limit (SEC-09) and wait for multiple confirmations per chain (SEC-10).

Security

  • Private key only from env; never log, echo, or pass via CLI args.
  • Key is validated (0x + 64 hex chars) and removed from process.env after account derivation (SEC-02).
  • Error output is sanitized to prevent accidental key leakage in logs (SEC-02).
  • Deposit address is checked against a hardcoded whitelist to prevent oracle attacks (SEC-01).
  • Public RPCs emit a warning; use private RPCs (Alchemy, Infura) in production (SEC-04).
  • balance.mjs never loads the private key; it uses the public address only (SEC-07).

Broker ID

The --broker parameter (default: 1) identifies the Aster broker account that the deposit is attributed to. Broker 1 is the primary/default Aster broker. Only change this if you know the target broker ID. An incorrect broker ID may result in funds being inaccessible from the expected account (SEC-11).

Scripts (viem)

Optional: scripts/ — Bun + viem. Install: cd skills/aster-deposit-fund/scripts && bun install.

ScriptPurpose
deposit.mjsDeposit (no API lookups): ASTER_DEPOSIT_PRIVATE_KEY=0x... bun run deposit.mjs --chain <eth|bsc|arbitrum> --native --amount <amount> [--broker <id>] [--dry-run] or ... --token <0x...> --decimals <n> [--symbol <SYM>] --amount <amount> ...
balance.mjsWallet balances (read-only, offline): bun run balance.mjs --chain <eth|bsc|arbitrum> --address <0x...> [--no-native] [--token <SYM:0xADDR:DECIMALS>]...

See .env.example in the repo root for all env vars.

Payload shapes: reference.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Aster Deposit Fund AI skill do?

Deposit funds to Aster from a wallet; private key from env. Use when the user wants to deposit to Aster or fund an Aster account.

Why use Aster Deposit Fund on TypingMind?

Because you install it once and use it with any model. Aster Deposit Fund is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Aster Deposit Fund in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/asterdex/aster-skills-hub/tree/main/skills/aster-deposit-fund. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Aster Deposit Fund?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Aster Deposit Fund?

As many as you like. As long as a model supports skills, you can use Aster Deposit Fund with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Aster Deposit Fund AI skill free?

It is published on GitHub by asterdex. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇