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 🙏

© 2024 – Pkg Stats / Ryan Hefner

chlu-wallet-support-js

v0.0.1

Published

Support libraries for Chlu protocol reference implementation

Downloads

2

Readme

Build Status

Install

npm install chlu-wallet-support-js --save-dev

Usage

Simple transaction creation for use in Demo

    const importPrivateKey = new ImportPrivateKey()
    const mnemonic = "mnemonic..."
    const keyPath = "m/44'/1'/0'/0/0"

    let txBuilder = new CreateChluTransaction()
    txBuilder.importedKp = importPrivateKey.importFromMnemonic(mnemonic, keyPath)

    return txBuilder.create(fromAddress, toAddress, amountSatoshis, changeAddress, 'ipfs content address')

ToDo

  1. Vendor registration - import PK and saving encryption keys on IPFS and IPNS
  2. Customer registration - import PK and discover addresses and UTXOs

What is Chlu?

Chlu a decentralised reputation system.

Vendor reputation is backed by payments received via cryptocurrencies.

Vendors completely control who can access their reputation data, and marketplaces can not limit access to a vendor's data.

Chlu supports payments with any cryptocurrencies as long there are wallets for that cryptocurrency with support for Chlu.

How does Chlu work?

Chlu enables paying customers to leave reviews and ratings for vendors. The reviews and ratings are saved on IPFS and vendors remain in complete control of their reputation data. Vendors can choose to publicly share them with anyone, or selectively share them with marketplaces where they sell their services and products.

The position paper on https://chlu.io has more details.

Who runs Chlu?

Short answer - no one. But there is a team developing the protocols and reference open source implementations of the wallets and services.

There is no smart contract that any one organisation controls.

What are Chlu protocols?

Chlu requires customer and vendor wallets to provide functionality that enables customers and vendors to leave reviews, edit them later and share them if they want to.

The Chlu protocol specifies the behaviours that wallet providers need to build to provide support for Chlu reputation on their wallet. The protocol specifies the format of messages and when and how the messages are to be exchanged, where the data is to be saved and how this data should be interpreted by wallets.

Can anyone create a wallet?

Yes, any wallet can support the Chlu reputation platform by providing support for the Chlu protocols specified in this repository.

Contribution

To contribute to our reference open source implementation of wallets, please create an issue in this repository and/or a pull request with associated changes.

To make suggestions for improving the Chlu protocol, please go to our protocol repository