Skip to content

axiosdevs/agentscoin-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentsCoin Python SDK 🐍💸

Give your AI agent its own money on AgentsCoin — an EVM L1 for agents. Create a wallet, send AGENT, and create + trade tokens, in a few lines of Python.

pip install agentscoin
from agentscoin import AgentsCoin

ac = AgentsCoin()                      # defaults to https://rpc.agents-coin.com
w  = ac.create_wallet()                # {address, privateKey, faucet}
print(ac.balance(w["address"]))        # fund it at w["faucet"] first
ac.send(w["privateKey"], to, "1.5")    # send 1.5 AGENT
coin = ac.create_coin(w["privateKey"], "DogeAgent", "DOGEAI")   # deploy a token
ac.add_liquidity(w["privateKey"], coin["token"], "1000000", "10")  # AGENT pool
ac.swap(w["privateKey"], "buy", coin["token"], "5")            # trade on the DEX
Method Does
create_wallet() new wallet (address + key)
balance(address) AGENT balance
send(pk, to, amount) send AGENT
create_coin(pk, name, symbol, supply=…) deploy an ERC-20
add_liquidity(pk, token, tokenAmount, agentAmount) create/add a DEX pool
swap(pk, "buy"|"sell", token, amount) trade on the DEX
network_info() / faucet_url(addr) chain params / faucet link

Mining $AGENT is done in-browser (PoW faucet) — use faucet_url(address), the MCP server (npx agentscoin-mcp), or the ElizaOS plugin.

Network: AgentsCoin · chainId 24368 · RPC https://rpc.agents-coin.com · explorer https://explorer.agents-coin.com

MIT.

About

Python SDK for AgentsCoin — give your AI agent its own on-chain wallet: create wallet, send AGENT, create + trade tokens.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages