npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cryptoandcoffee/akash-jsdk-core

v3.11.1

Published

Core SDK for Akash Network

Readme

@cryptoandcoffee/akash-jsdk-core

Core SDK for Akash Network with deployment, market, provider, and wallet management.

✅ Production Ready Status

All modules in this package are production-ready with real blockchain implementations.

✅ Production Ready - All Modules Fully Implemented

All modules use SigningStargateClient for real blockchain transactions and REST API queries for state retrieval:

Batch Operations Module (BatchManager, BatchBuilder)

  • Status: ✅ Production Ready
  • Features:
    • BatchBuilder.execute() - Broadcasts real transactions to blockchain
    • BatchManager.executeBatch() - Real blockchain interaction with SigningStargateClient
    • BatchManager.simulateBatch() - Actual gas estimation from chain
    • BatchManager.getTransactionDetails() - Real transaction data from blockchain
  • Production capabilities: Real transaction broadcasting, gas simulation, confirmation polling

IBC Module (IBCManager)

  • Status: ✅ Production Ready
  • Features:
    • IBCManager.transfer() - Executes real IBC transfers on blockchain
    • IBCManager.getChannels() - Queries real IBC channels from chain
    • IBCManager.getChannel() - Retrieves actual channel information
    • IBCManager.getTransferStatus() - Real status tracking via chain events
    • IBCManager.getDenomTrace() - Queries actual denom trace from chain
  • Production capabilities: Real IBC transfers, channel queries, packet acknowledgement tracking

Staking Module (StakingManager)

  • Status: ✅ Production Ready
  • Features:
    • StakingManager.delegate() - Stakes real tokens on blockchain
    • StakingManager.undelegate() - Undelegates real tokens
    • StakingManager.redelegate() - Redelegates between validators
    • StakingManager.getValidators() - Queries real validator data from chain
    • StakingManager.getValidator() - Retrieves actual validator information
    • StakingManager.getDelegations() - Queries real delegation data
    • StakingManager.getUnbondingDelegations() - Real unbonding data from chain
    • StakingManager.getRedelegations() - Actual redelegation data
    • StakingManager.getRewards() - Queries real rewards from distribution module
    • StakingManager.withdrawRewards() - Withdraws real rewards on blockchain
    • StakingManager.withdrawAllRewards() - Withdraws all rewards from all validators
    • StakingManager.getPool() - Queries actual staking pool data
    • StakingManager.getParams() - Retrieves real staking parameters from chain
  • Production capabilities: Real staking operations, validator queries, reward distribution

Core Modules

  • DeploymentManager - Complete deployment lifecycle management
  • MarketManager - Marketplace operations including AEP-75 multi-depositor escrow
  • ProviderManager - Provider interactions and manifest deployment
  • WalletManager - Wallet integration (Keplr, Leap, Cosmostation, MetaMask Snap)
  • WalletAdapter - Multi-wallet JWT authentication with ADR-36 signing
  • SDLManager - SDL parsing, validation, and template generation
  • JWTAuthManager - AEP-63 JWT authentication for Mainnet 14
  • CertificateManager - Client certificate management (legacy)
  • EscrowManager - AEP-75 multi-depositor escrow support
  • GovernanceManager - Governance participation and voting
  • AuditManager - Provider audit and certification

Installation

npm install @cryptoandcoffee/akash-jsdk-core

Usage

Safe Production Usage

Use only the production-ready modules for applications handling real funds:

import { AkashSDK } from '@cryptoandcoffee/akash-jsdk-core'

const sdk = new AkashSDK({
  rpcEndpoint: 'https://rpc.akashedge.com:443',
  apiEndpoint: 'https://api.akashedge.com:443',
  chainId: 'akashnet-2',
  gasPrice: '0.025uakt'
})

await sdk.connect()

// ✅ Safe to use in production
const deployments = await sdk.deployments.list('akash1...')
const providers = await sdk.providers.list()
const balance = await sdk.wallet.getBalance()

// ✅ Safe to use - AEP-63 JWT Auth (Mainnet 14)
import { WalletAdapter } from '@cryptoandcoffee/akash-jsdk-core'

const walletAdapter = new WalletAdapter()
const token = await walletAdapter.generateJWTWithKeplr(
  'akashnet-2',
  'akash1...',
  { expiresIn: 900, accessType: 'full' }
)
sdk.setAuthConfig({ method: 'jwt', jwtToken: token })

// ✅ Safe to use - AEP-75 Multi-Depositor Escrow (Mainnet 14)
const depositConfig = sdk.market.createDepositConfig(
  '5000000',
  'uakt',
  ['balance', 'grant'],
  ['akash1depositor1...', 'akash1depositor2...']
)

// ✅ Safe to use - Batch Operations (Production Ready)
const batch = await sdk.batch.createBatch()
await batch
  .addDeployment(sdl)
  .addLease(dseq, provider)
  .execute() // Broadcasts real transactions to blockchain

// ✅ Safe to use - IBC Module (Production Ready)
const result = await sdk.ibc.transfer({
  sourceChannel: 'channel-0',
  token: { denom: 'uakt', amount: '1000000' },
  receiver: 'cosmos1...'
}) // Executes real IBC transfer on blockchain

// ✅ Safe to use - Staking Module (Production Ready)
const result = await sdk.staking.delegate(
  'akashvaloper1...',
  { denom: 'uakt', amount: '1000000' }
) // Stakes real tokens on blockchain

API Documentation

All Modules Production Ready

Full API documentation for all modules is available in the main repository README.

BatchManager

class BatchManager {
  // ✅ Production Ready - All methods interact with blockchain
  async createBatch(): Promise<BatchBuilder>
  async executeBatch(operations: EncodeObject[]): Promise<BatchResult>
  async simulateBatch(operations: EncodeObject[]): Promise<GasEstimate>
  async getTransactionDetails(txHash: string): Promise<TxDetails>
}

IBCManager

class IBCManager {
  // ✅ Production Ready - All methods interact with blockchain
  async transfer(params: IBCTransferParams): Promise<IBCTransferResult>
  async getChannels(): Promise<Channel[]>
  async getChannel(channelId: string): Promise<Channel>
  async getTransferStatus(txHash: string): Promise<TransferStatus>
  async getDenomTrace(denom: string): Promise<DenomTrace | null>
}

StakingManager

class StakingManager {
  // ✅ Production Ready - All methods interact with blockchain
  async delegate(validator: string, amount: Coin): Promise<StakingResult>
  async undelegate(validator: string, amount: Coin): Promise<StakingResult>
  async redelegate(src: string, dst: string, amount: Coin): Promise<StakingResult>
  async getValidators(status?: BondStatus): Promise<Validator[]>
  async getDelegations(delegator?: string): Promise<Delegation[]>
  async getRewards(delegator?: string): Promise<Rewards>
  async withdrawRewards(validator: string): Promise<StakingResult>
  async withdrawAllRewards(): Promise<StakingResult>
  async getPool(): Promise<StakingPool>
  async getParams(): Promise<StakingParams>
}

Support

License

Apache License 2.0


✅ All modules are production-ready and safe to use with real funds. Comprehensive testing with 1,280+ passing tests ensures enterprise-grade reliability.