1.3.8 • Published 19 days ago

blockin v1.3.8

Weekly downloads
-
License
ISC
Repository
-
Last release
19 days ago

Contributors Forks Stargazers Issues MIT License

About The Project

Blockin is a universal, multi-chain sign-in interface for Web 3.0 that supports micro-authorizations!

This README focuses mainly on this codebase. The Blockin Docs and the Blockin Demo provide much more documentation on what Blockin is, how it works, and how to use it.

Scope of the Library

This library supports creating digital authorization assets, such as NFTs, on any blockchain that supports them, as well as generating and verifying sign-in requests in the form of a challenge / response.

Note that the Blockin library does not handle signing the challenges and will never ask for your private key. Challenge signatures should be implemented separately. It only uses public data and cryptographic signatures to verify.

Usage

For using the Blockin library on either a backend or frontend codebase, all you will have to do is run

npm install blockin

Then, you can import via

import { ... } from 'blockin';'

Visit the Blockin Docs for documentation on how to use this library.

An example frontend and backend using Blockin can be found at Blockin Sample Integration Site.

  • The pages folder shows how to use it in the frontend. The api folder shows how to use it via a backend API.

Current Supported Chains

These are the chains that are natively supported by this library.

  • Algorand (AlgoDriver) via the blockin-algo-driver NPM package (Source Code).
    • Uses Purestake API and algosdk npm library

To add support for a new blockchain, please visit the README in the ChainDrivers folder.

We are currently working on adding implementations for more blockchains and also making it more convenient to import/export these templates.

Example Sites Using Blockin

Contributing to the Library

To develop and contribute to this library directly, all you should need to do is npm install.

The library has a few separate parts to it:

  • Smart Contracts: These live in the smart_contracts folder. This is where example smart contracts for the creation of assets and other use case examples can be found.
  • Blockin Library Functions: These live in the src folder (excluding the src/ui folder). This is for all the asset creation and verification functions.
    • If contributing to this part of the library, it is important that you become familiar with the ChainDriver interface and how it used. More information can be found at Blockin Docs.
  • UI Components: These importable UI components can be found in the src/ui folder. This, in theory, should be decoupled from the core library and able to eventually become its own library in the future.
    • View the README in src/ui for more information.

Everything is built using npm run build which creates a build folder in the dist directory. The build command first rolls up the UI components, and then it builds everything else.

Documentation

For more in-depth documentation, visit the Blockin Docs or the Blockin Paper.

1.3.8

19 days ago

1.3.7

19 days ago

1.3.6

1 month ago

1.3.5

1 month ago

1.3.4

1 month ago

1.3.3

1 month ago

1.3.2

1 month ago

1.3.1

1 month ago

1.3.0

1 month ago

1.2.114

2 months ago

1.2.113

2 months ago

1.2.112

3 months ago

1.2.111

3 months ago

1.2.110

3 months ago

1.2.109

3 months ago

1.2.108

3 months ago

1.2.107

4 months ago

1.2.99

4 months ago

1.2.101

4 months ago

1.2.100

4 months ago

1.2.103

4 months ago

1.2.102

4 months ago

1.2.105

4 months ago

1.2.104

4 months ago

1.2.106

4 months ago

1.2.96

4 months ago

1.2.97

4 months ago

1.2.98

4 months ago

1.2.95

4 months ago

1.2.85

4 months ago

1.2.86

4 months ago

1.2.89

4 months ago

1.2.87

4 months ago

1.2.88

4 months ago

1.2.92

4 months ago

1.2.93

4 months ago

1.2.90

4 months ago

1.2.91

4 months ago

1.2.94

4 months ago

1.2.84

4 months ago

1.2.81

4 months ago

1.2.82

4 months ago

1.2.83

4 months ago

1.2.80

4 months ago

1.2.79

4 months ago

1.2.75

4 months ago

1.2.78

4 months ago

1.2.76

4 months ago

1.2.77

4 months ago

1.2.74

5 months ago

1.2.73

5 months ago

1.2.71

5 months ago

1.2.72

5 months ago

1.2.16

9 months ago

1.2.17

9 months ago

1.2.60

5 months ago

1.2.63

5 months ago

1.2.64

5 months ago

1.2.61

5 months ago

1.2.62

5 months ago

1.2.67

5 months ago

1.2.68

5 months ago

1.2.65

5 months ago

1.2.66

5 months ago

1.2.69

5 months ago

1.2.70

5 months ago

1.2.41

8 months ago

1.2.42

7 months ago

1.2.40

8 months ago

1.2.45

7 months ago

1.2.46

7 months ago

1.2.43

7 months ago

1.2.44

7 months ago

1.2.49

7 months ago

1.2.47

7 months ago

1.2.48

7 months ago

1.2.52

7 months ago

1.2.53

7 months ago

1.2.50

7 months ago

1.2.51

7 months ago

1.2.56

7 months ago

1.2.57

6 months ago

1.2.54

7 months ago

1.2.55

7 months ago

1.2.58

6 months ago

1.2.59

5 months ago

1.2.18

9 months ago

1.2.19

9 months ago

1.2.20

9 months ago

1.2.23

9 months ago

1.2.24

9 months ago

1.2.21

9 months ago

1.2.22

9 months ago

1.2.27

9 months ago

1.2.28

9 months ago

1.2.25

9 months ago

1.2.26

9 months ago

1.2.29

9 months ago

1.2.30

9 months ago

1.2.31

9 months ago

1.2.34

9 months ago

1.2.35

9 months ago

1.2.32

9 months ago

1.2.33

9 months ago

1.2.38

9 months ago

1.2.39

9 months ago

1.2.36

9 months ago

1.2.37

9 months ago

1.2.13

1 year ago

1.2.14

1 year ago

1.2.15

1 year ago

1.2.8

2 years ago

1.2.12

2 years ago

1.2.10

2 years ago

1.2.11

2 years ago

1.2.9

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.36

2 years ago

1.1.35

2 years ago

1.1.34

2 years ago

1.1.33

2 years ago

1.1.32

2 years ago

1.1.31

2 years ago

1.1.30

2 years ago

1.1.29

2 years ago

1.1.28

2 years ago

1.1.27

2 years ago

1.1.26

2 years ago

1.1.25

2 years ago

1.1.24

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.51

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago