Skip to content

Commit

Permalink
refactor: web utils version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagan committed Jun 8, 2023
1 parent fe54a5b commit e5b623f
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 1,461 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Passport](http://passportjs.org/) strategy for authenticating with Cardano wallet signatures.

This module lets you authenticate using a Cardano wallet in your Node.js applications.
This module lets you authenticate using a Cardano wallet in your Node.js applications. This implementation is based on CIP-0093 Authenticated Web3 HTTP Requests.
## Install

$ npm install passport-cardano-web3
Expand Down Expand Up @@ -46,7 +46,7 @@ In the client side, we will use the ```api.signData(addr: Address, payload: Byte

```javascript
const payload = {
url: 'https://example.com/login',
uri: 'https://example.com/login',
action: 'Login',
timestamp: Date.now(),
};
Expand All @@ -73,6 +73,12 @@ The repository [jmagan/cardano-express-web3-skeleton](https://github.com/jmagan/
$ npm install
$ npm test

## Support

If you find it useful, please consider inviting me a coffee :)

[![DoItWithLovelace](https://app.doitwithlovelace.io/api/og/assets/donationButton)](https://app.doitwithlovelace.io/users/DoItWithLovelace)

## License

[The MIT License](http://opensource.org/licenses/MIT)
Loading

0 comments on commit e5b623f

Please sign in to comment.