dapp

Solid

Stellar dApp / frontend development. Covers javascript stellar-sdk, Stellar Wallets Kit, and the agentic kit data layer — useStellarData(), useContract(), useStellarWallet(). No raw RPC or curl.

Data & Documents 18 stars 0 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
43
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# dApp — Agentic Kit Frontend All blockchain queries go through `useStellarData()`. Never write raw RPC or curl. ## Wallet Setup (one-time) ```ts // providers/wallet-provider.tsx import { WalletProvider } from "@/providers/wallet-provider"; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( <WalletProvider> {children} </WalletProvider> ); } ``` ## Hooks API ### `useStellarData()` — Blockchain queries ```ts import { useStellarData } from "@/hooks/use-stellar-data"; const { getBalances, // (address: string) => { asset, balance }[] queryContract, // (id: string, method: string, args: ScVal[]) => ScVal | null getContractData, // (id: string, key: ScVal) => ScVal | null getEvents, // (id: string, limit?: number) => Event[] getTransaction, // (hash: string) => TxResponse | null loading, // boolean error, // string | null rpc, // raw RPC client (fallback only) } = useStellarData(); ``` ### `useContract(contractId)` — Contract read/write ```ts import { useContract } from "@/hooks/use-contract"; const c = useContract("CA3..."); await c.read("name"); // simulation-only, no tx await c.read("balance_of", [addressArg]); // any read method await c.write(sender, "transfer", args, signFn); // full sign+submit // c.data exposes the underlying useStellarData() ``` ### `useStellarWallet()` — Wallet connection + data ```ts impor...

Details

Author
rylsherdamz-rgb
Repository
rylsherdamz-rgb/stellar-agentic-framework
Created
3 weeks ago
Last Updated
3 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category