@growae/reactive
v0.0.5
Published
<h1 align="center">@growae/reactive</h1>
Downloads
56
Readme
Overview
Config-driven setup for Aeternity dApps. Provides actions (spend, getBalance, signMessage, deployContract, and more), network management, and a connector system. Use standalone or pair with a framework adapter.
Install
# npm
npm install @growae/reactive
# yarn
yarn add @growae/reactive
# pnpm
pnpm add @growae/reactiveUsage
import { createConfig } from '@growae/reactive'
import { getBalance, spend } from '@growae/reactive/actions'
import { testnet } from '@growae/reactive/networks'
const config = createConfig({ networks: [testnet] })
const balance = await getBalance(config, { address: 'ak_...' })
await spend(config, {
recipient: 'ak_...',
amount: '1.0',
})Dependencies
@aeternity/aepp-sdkzustand- Optional peer:
@tanstack/query-core
Documentation
Visit reactive.growae.io/core/getting-started for the full documentation.
