New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hypersdk-client

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypersdk-client

Sample client for HyperSDK

  • 0.4.17
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
increased by46.08%
Maintainers
0
Weekly downloads
 
Created
Source

HyperSDK Client

The HyperSDK Client is a TypeScript/JavaScript library designed to interact with the HyperSDK blockchain. It provides a set of tools and utilities to connect to the blockchain, manage accounts, and execute transactions.

Features

  • Connect to the HyperSDK blockchain using different signer types (Metamask Snap, Ephemeral, Private Key).
  • Fetch and manage account balances.
  • Execute read-only actions and transactions.
  • Encode and decode data using the ABI (Application Binary Interface).

Installation

npm install hypersdk-client

Example Usage

To use the HyperSDK Client, make sure you have the latest version installed. You can refer to the JavaScript examples in the HyperSDK Starter repository for more detailed usage. Please note that the API and features are evolving rapidly, and there may be frequent changes. The v1.0 release is expected to stabilize the user experience.

Changelog

0.4.16

  • Added experimental support for Core wallet

0.4.15

  • SendTransaction now returns both the txID and full txn result.

0.4.14

  • Added support for the new 4-byte hash suffix for addresses

0.4.13

  • TS to JS compilation

0.4.12

  • Move Snap into its own repo
  • Move files around, but keep the API the same. You need to update imports

0.4.11

0.4.10

0.4.9

  • Updated the indexer API to the latest iteration.
  • Simplified indexer transformation in favor of easier support.

0.4.8

  • Updated the indexer API to the latest iteration
  • Added support for block subscriptions
  • Note: internal changes require reinstalling the Snap!

0.4.7

  • Added support for the new indexer API
  • Renamed most of the methods. Now they are simulateAction, sendTransaction, formatNativeTokens, convertToNativeTokens
  • Removed WebSocket support and replaced it with indexer API
  • Added getTransaction method to get the transaction status

0.4.6

  • The HyperSDK client is no longer an abstract class and does not need to be extended
  • Added support for Go language arrays
  • Implemented support for WebSockets for transactions (block support is not yet available)

TODO:

  • Separate the Snap into its own package to make it lighter

FAQs

Package last updated on 22 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc