Client Libraries Overview
Signchain provides dedicated client libraries for JavaScript and Golang, enabling seamless integration with Signchain’s infrastructure for managing blockchain transactions, wallet operations, and secure signing processes. These libraries are designed for server-side use, allowing you to handle private keys and sensitive data securely while offloading key responsibilities to Signchain.
Each library has been crafted to fit the unique needs of its respective language ecosystem, supporting both hosted and self-hosted vaults. Here’s an overview of each library and what it can bring to your project.
JavaScript Client Library
The JavaScript Client Library, available on npm as @grexie/signchain
, is ideal for server-side Node.js environments. It allows JavaScript developers to access the full suite of Signchain’s API endpoints for transaction signing, wallet management, and more.
Key Features:
- Transaction Signing: Securely sign transactions within your JavaScript environment, without exposing private keys.
- Wallet Management: Create, update, and manage wallets within the vault.
- Flexible Configuration: Supports both hosted and self-hosted vaults for flexible deployment options.
- Secure API Calls: Leverages Signchain’s secure API with built-in support for handling authentication and headers.
Getting Started
To start using the JavaScript client library, follow the Getting Started guide for installation, configuration, and your first API call.
Usage Examples
See detailed usage examples in the Usage Examples section to understand how to make calls for wallet creation, transaction signing, and more.
Golang Client Library
The Golang Client Library, found on Go.dev at github.com/grexie/signchain-go/v2
, provides a high-performance client for applications built in Go. With strong concurrency support and efficient resource management, the Go client is designed for developers seeking the power and speed of Go in blockchain transaction management.
Key Features:
- Efficient Signing Operations: Designed to handle transaction signing securely and efficiently within Go applications.
- Robust Wallet Management: Manage wallets in the vault with ease using dedicated endpoints.
- API Integration: Connect directly to Signchain’s vault and API with secure authentication handling.
- Concurrency Support: Make multiple secure calls concurrently, leveraging Go’s performance advantages.
Getting Started
For setup instructions and your first API call, visit the Getting Started guide.
Usage Examples
Check out the Usage Examples page for practical examples, including wallet management and transaction signing.
Choosing the Right Library
The best client library depends on your application’s tech stack:
- JavaScript Client Library: Ideal for Node.js applications and JavaScript-based server environments. Perfect for web developers and backend engineers needing to handle blockchain transactions securely within the JavaScript ecosystem.
- Golang Client Library: Suited for high-performance backend systems, especially where concurrency is needed. Recommended for Go developers aiming to integrate blockchain operations with Signchain’s API in a secure and efficient manner.
Why Use Signchain’s Client Libraries?
Signchain’s client libraries simplify the process of integrating with our API, handling authentication and error management internally, so you can focus on building features rather than managing low-level details. Additionally, using these libraries ensures your integration is up-to-date with Signchain’s latest API changes.
By leveraging our client libraries, you can:
- Securely manage private keys within your environment.
- Offload gas fees to users, enabling a cost-effective and scalable model.
- Seamlessly integrate blockchain features into existing applications without compromising security or control.
Next Steps
Choose the client library that fits your project:
- JavaScript Client Library: Explore setup, usage, and examples for the JavaScript client.
- Golang Client Library: Access guides and examples for using the Go client.
Both libraries are designed to enhance your development experience with Signchain, offering clear and concise access to the full range of API functionalities. Get started today and unlock the full potential of blockchain integration with Signchain.