Skip to content
thefactlab-orgPublic

About

Dacc-js | Decentralized Account Control (DAcc) on Blockchain networks. https://dacc-js.thefactlab.org

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation


Dacc-js | Decentralized Account Control (DAcc) on Blockchain networks.


dacc-js is a library for implementing Decentralized Account Control (DAcc) on blockchain networks. It enables users and developers to create secure encrypted wallets with Web2 solution integration that can be recovered using only a password, eliminating the need for complex seed phrases or private key management. The library operates in a completely serverless architecture without storing private keys on any servers or centralized systems, utilizing advanced encryption technology to ensure full wallet ownership, exportability, and user privacy.

Why Dacc-js

  • User-Centric Design: Dacc-js is built with the user in mind, enabling easy integration with Web2 solutions and simplifying wallet creation and recovery processes.
  • Flexibility and Control: Users have complete control over their wallets, with the ability to recover them using just a password, making it a versatile solution for various use cases.
  • Enhanced Security: By eliminating the need for seed phrases and central key storage, Dacc-js significantly reduces the attack surface for potential threats.
  • Free and Open Source: Completely free to use with an open-source codebase, providing full transparency for developers.

Use Cases

  • Decentralized Applications (dApps): Integrate Dacc-js into dApps to provide users with a seamless and secure wallet experience.
  • Web3 Onboarding: Simplify the onboarding process for new users entering the Web3 space.
  • Password-Based Wallets: Create wallets that can be easily recovered with a password, enhancing user convenience without compromising security.

Features

  • Password-based Wallet Encryption & Recovery: Create or recover your wallet using only a password - no need to store private keys directly.
  • Self-Ownership Management: Private keys are not stored centrally, they are decentralized, decryptable and private with a password for recovery, ensuring complete self-ownership.
  • Serverless by Design: Fully client/server-side operation, no backend, no API, no database costs, use blockchain for data memory and transparency.
  • Built-in Transaction Functions: Pre-built comprehensive functions designed to perfectly address all use cases with extreme ease and convenience. Easy transaction handling and simple to use, reduce development time and focus on building your app efficiently.
  • Seamless Transaction Interaction: Easy integration with many libraries, supports all EVM types and works seamlessly with ethers, viem and other blockchain development tools with direct account connection.

Installation

Before installing dacc-js, it is recommended to first install Node.js v22+ on your system to make sure it is installed correctly.

To use CLI Commands, you'll need to install it globally -g is a global package installation.
After installing, you can call dacc from your terminal using the available commands

npm i dacc-js

Quick Start

client/server side

Create a script file or function to create your Dacc wallet.

import { createDaccWallet } from "dacc-js";

const wallet = await createDaccWallet({
  passwordSecretkey: "my+Password#123...",
});

console.log("wallet:", wallet); // {address, daccPublickey}
console.log("wallet address:", wallet?.address); // 0x123address... (recall = address)
console.log("wallet daccPublickey:", wallet?.daccPublickey); // daccPublickey_0x123_XxX... (keep = id)

cli command

Create a Dacc wallet quickly with the command.

dacc create

Donate

Support core development team and help to the project growth.

0x6A74308F267c07556ED170025AE2D1753F747E20

About

Dacc-js | Decentralized Account Control (DAcc) on Blockchain networks. https://dacc-js.thefactlab.org

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages