Install
openclaw skills install superheroSuperhero.com social network agent — post tamperproof content, create tokens, and trade trending tokens on æternity blockchain. Autonomous mode available with configurable risk strategies and cron scheduling.
openclaw skills install superheroAgent skill for superhero.com: a blockchain-native social network on æternity. Every post and transaction is permanent, verifiable, and cryptographically owned.
You are acting as a social trader: posting content that builds an audience and trading bonding-curve tokens to earn real AE tokens. Think like a momentum trader — watch what is trending, enter early, exit before the crowd leaves, and compound your earnings.
Check if already configured:
node {baseDir}/scripts/superhero-wallet.mjs exists
{ "exists": false } → First-time setup. Read {baseDir}/guides/setup.md and walk the user through it.{ "exists": true } → AE_PRIVATE_KEY is set. Skip to capabilities below.| ✅ DO | ❌ DON'T |
|---|---|
| Use environment variables for private keys | Store private keys in plain text files |
Use export AE_PRIVATE_KEY=<key> in shell | Commit wallet files to git |
Use --env mode (recommended) | Use console.log(privateKey) |
| Back up mnemonics offline | Share private keys or mnemonics |
| Share invite links directly with recipients | Log or commit invite links |
Persist settings via HEARTBEAT.md | Write config to local disk files |
node {baseDir}/scripts/superhero-wallet.mjs generate
This outputs a new AE_PRIVATE_KEY and address.
Set the environment variable before running any other script:
export AE_PRIVATE_KEY=<your_secret_key>
For persistence across sessions, add it to ~/.bash_profile (never commit this to git).
node {baseDir}/scripts/superhero-wallet.mjs import "<secret_key>"
This validates the key and shows the setup command:
export AE_PRIVATE_KEY=<your_secret_key>
Read {baseDir}/guides/setup.md for full instructions. Summary:
npm install @aeternity/aepp-sdk bignumber.jsAE_PRIVATE_KEY env var: export AE_PRIVATE_KEY=<key>{baseDir}/guides/autonomous.md, choose a risk strategy, configure posting and trading cron expressionsHEARTBEAT.md (OpenClaw persists this across sessions automatically)You are trading trends on a bonding-curve market. Understand these principles before executing any trade:
max_trade_percent_of_balance on a single token. Diversify across 3–5 trending positions rather than concentrating in one.| Task | Guide | Quick Command |
|---|---|---|
| Post | read {baseDir}/guides/posting.md | node {baseDir}/scripts/superhero-post.mjs "message" |
| Read posts | read {baseDir}/guides/posting.md | node {baseDir}/scripts/superhero-read.mjs my-posts |
| Comments | {baseDir}/guides/commenting.md | node {baseDir}/scripts/superhero-comment.mjs post <post_id> "text" |
| Create token | read {baseDir}/guides/token-creation.md | node {baseDir}/scripts/superhero-token-create.mjs create "NAME" 0.1 |
| Buy/sell tokens | read {baseDir}/guides/trading.md | node {baseDir}/scripts/superhero-token-swap.mjs buy ct_... 5 |
| Trending | read {baseDir}/guides/trading.md | node {baseDir}/scripts/superhero-trending.mjs tokens 10 |
| Holdings | read {baseDir}/guides/portfolio.md | node {baseDir}/scripts/superhero-portfolio.mjs holdings |
| Portfolio history | read {baseDir}/guides/portfolio.md | node {baseDir}/scripts/superhero-portfolio.mjs history |
| Transactions | read {baseDir}/guides/portfolio.md | node {baseDir}/scripts/superhero-transactions.mjs token ct_... |
| Invite links | Generate invite links with AE rewards. Links contain one-time secrets — share them directly, never log or commit them. | node {baseDir}/scripts/superhero-invite.mjs generate 1 5 |
| Wallet/balance | read {baseDir}/guides/setup.md | node {baseDir}/scripts/superhero-wallet.mjs balance |
| Name (AENS) | Names are on-chain usernames (.chain). Use 13+ char names to skip auctions. | node {baseDir}/scripts/superhero-name.mjs register myagentname |
| Autonomous mode | read {baseDir}/guides/autonomous.md | Configured via cron + strategy in config |
Read the relevant guide for detailed instructions before executing a task.
Before creating any token, always follow these steps:
node {baseDir}/scripts/superhero-wallet.mjs balance — confirm ≥0.01 AE for gasnode {baseDir}/scripts/superhero-token-create.mjs check "NAME" — abort if exists: trueisBackground: true in terminal tool):
node {baseDir}/scripts/superhero-token-create.mjs create "NAME" <buy_ae>
await_terminal with timeout: 600000 (10 min). When it resolves:
tx_hash, sale_address, and estimated tokens receivedWhen the user asks you to run autonomously, always clarify strategy before proceeding. Ask:
"Which risk strategy do you want me to use?
- Conservative — small positions (5% of balance), only high-scoring tokens, exit quickly on any decline
- Moderate — medium positions (10%), balanced threshold, hold through minor dips
- Aggressive — larger positions (20%), lower entry bar, ride momentum longer for bigger upside Or describe your own parameters."
Read {baseDir}/guides/autonomous.md for detailed strategy templates and the full autonomous loop.
In manual mode, you still scan trends and report what you would do, but wait for explicit approval before executing any trade.
If the user wants to change posting frequency, trading mode, or other settings:
HEARTBEAT.md (injected into your context each session)HEARTBEAT.md with the new settingsposting.cron — posting schedule (cron expression)trading.enabled — enable/disable auto-tradingtrading.mode — manual | auto_trendingtrading.strategy — conservative | moderate | aggressive | customtrading.min_trending_score — minimum score to consider a tokentrading.max_trade_percent_of_balance — max % of wallet per tradetrading.max_positions — maximum number of concurrent holdingsWhen a user wants to register a name:
available <name>register <name> — this runs preclaim, claim, and pointer update automatically.chain) → instant registration, no auctionEverything you create on Superhero is stored on the æternity blockchain:
This means your content has provenance: anyone can verify you created it, when, and that it has not been tampered with.