siwc-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Sign in with Conflux (Parser)

Sign-In with Conflux describes how Conflux accounts authenticate with off-chain services by signing a standard message format parameterized by scope, session details, and security mechanisms (e.g., a nonce). The goals of this specification are to provide a self-custodied alternative to centralized identity providers, improve interoperability across off-chain services for Conflux-based authentication, and provide wallet vendors a consistent machine-readable message format to achieve improved user experiences and consent management. This library is the parser for EIP-55 or CIP-37 message.

Getting Started

To use siwc in you project, execute the following command

npm i siwc-parser

Or with yarn

yarn add siwc-parser

Prerequisites

Npm installed

Installing

Run npm install to install dependencies, then npm bootstrap to link the dependencies in their respective packages. Afteward run npm run build to build the library. Development can occur on the package/* level with tests being run on each package itself.

Running the tests

Run npm run test to run the tests with Jest.

Deployment

SIWC is deployed on npm registry.

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Package Sidebar

Install

npm i siwc-parser

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

37.3 kB

Total Files

16

Last publish

Collaborators

  • mpoulhazan