Catalog npm
PACKAGE EXPLORERView in registry

0xpay-cc-sdk

npm

- **Wallet Generation**: Securely generate private keys and public addresses using a user's unique identifier and a developer-defined password. - **Blockchain Support**: - Ethereum, BSC, Polygon, Avalanche,Optimism, Arbitrum,HECO,Harmony,Fantom✅ - Solana

blockchaincryptocyrptocurrencypaymentwallets
Versions collected10
Direct dependencies10From release 0.1.0
Last observed20 Oct, 17:52 UTC

README

Current package documentation

Multi-Blockchain Wallet SDK Documentation

Welcome to the Multi-Blockchain Wallet SDK, an innovative and versatile open-source tool designed for developers across a variety of blockchain platforms. This SDK simplifies the creation of wallets, integration of cryptocurrency payments, and the management of crypto assets by leveraging user-specific information, such as IDs or emails, to generate unique public addresses. With exclusive access to private keys through encrypted passwords, developers can ensure the security of the wallets while enabling real-time monitoring of wallet activities via WebSockets. Currently, the SDK offers support for Ethereum, Solana, and Tron, with plans to expand to additional blockchains.


🌐 Features

  • Wallet Generation: Securely generate private keys and public addresses using a user's unique identifier and a developer-defined password.
  • Blockchain Support:
    • Ethereum, BSC, Polygon, Avalanche,Optimism, Arbitrum,HECO,Harmony,Fantom✅
    • Solana ✅
    • Tron ✅
    • Bitcoin ✅
  • Real-Time Monitoring: Coming Soon.

🛠 Getting Started

To begin using the SDK, follow these steps:

Installation: npm install 0xpay-cc-sdk

Generating key pair from identifier and a defined password

The core functionality of our SDK revolves around the generation of wallet keys for different blockchains. Here's a guide to getting started with each supported blockchain:

Ethereum

  • Function: generateEvmPrivateKeyForUserIdentity
  • Description: Dynamically generates an Ethereum key pair (private and public keys) using a user's identifier and a developer-defined password. This method allows developers to securely manage wallet access while providing the necessary wallet functionalities to users.
  • Parameters:
    • identifier (string): A unique identifier for the user, such as email or username.
    • password (string): A developer-defined password used in the key generation process.
    • iterations (number, optional): The number of iterations for the PBKDF2 key derivation function, defaults to 100,000.
    • keyLength (number, optional): The desired length of the derived key in bytes, defaults to 32.
  • Returns: An EthereumKeyPair object containing the Ethereum address, private key, and both compressed and uncompressed public keys.

Solana

  • Function: generateSolanaPrivateKeyForUserIdentity
  • Description: Generates a Solana key pair from a user's identifier and a password. It produces a private key which is then used to create a keypair, making the public key available to the user.
  • Parameters:
    • identifier (string): The user's unique identifier.
    • password (string): The password combined with the identifier to generate the key.
    • iterations (number, optional): Number of iterations for PBKDF2, optional.
    • keyLength (number, optional): Desired key length, optional.
  • Returns: A SolanaKeyPair object containing the private and public keys.

Tron

  • Function: generateTronPrivateKeyForUserIdentity
  • Description: Similar to the Ethereum and Solana functions, this function generates a Tron key pair using the user's identifier and a password. It is designed to secure wallet creation and management by providing only the public key to the user.
  • Parameters:
    • identifier (string): The user's unique identifier.
    • password (string): The password combined with the identifier to generate the key.
    • iterations (number, optional): Number of iterations for PBKDF2, optional.
    • keyLength (number, optional): Desired key length, optional.
  • Returns: A TronKeyPair object including the private key and public key (address).

Bitcoin

  • Function: generateBitcoinPrivateKeyForUserIdentity
  • Description: Generates a Bitcoin key pair from a user's identifier and a password. It produces a private key which is then used to create a keypair, making the public key available to the user.
  • Parameters:
    • identifier (string): The user's unique identifier.
    • password (string): The password combined with the identifier to generate the key.
    • iterations (number, optional): Number of iterations for PBKDF2, optional.
    • keyLength (number, optional): Desired key length, optional.
  • Returns: A BitcoinKeyPair object containing the private, private WIF and public keys.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 10

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0Registry latest19 Mar 202410
0.0.916 Mar 20249
0.0.816 Mar 20245
0.0.716 Mar 20244
0.0.614 Mar 20243
0.0.514 Mar 20243
0.0.414 Mar 20243
0.0.312 Mar 20243
0.0.212 Mar 20243
0.0.112 Mar 20243

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xpay-cc/0xpay-cc-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:52 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ad5186b51b3a26120776277057288e1e67826a5343deea588c24537337b9d8d3