0.15.1 • Published 5 months ago

@canvas-js/ethereum-contracts v0.15.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

@canvas-js/ethereum-contracts

Contracts for onchain verification of Canvas messages created by the EIP712Signer verifiable signer.

Usage

TODO

How it works

Canvas is a CRDT/causal-graph environment where all operations are represented on a log.

Every log entry is a signed [Message<Action | Session>, Signature] tuple.

For example, a Session authorizes a new session key (did:key) and is serialized as a Message<Session>, which is then signed by the did:key that was authorized to create a Signature.

To exhaustively verify that a message was correctly signed to be appended to the log, you should verify that:

  • A session key (e.g. did:key) was authorized by a user (e.g. did:pkh:eip155:1:0x123...) in a Session. Sessions are verified using logic in the EIP712 signer.
  • That authorization message was signed by the did:key it authoriaed, i.e. there exists a Signature corresponding to the session wrapped as a message Message<Session>.
  • An action message was also signed by that did:key, i.e. there exists a valid Signature corresponding to the user's action wrapped as a message Message<Action>.
0.12.3-next.4

12 months ago

0.12.3-next.3

12 months ago

0.14.0-next.0

10 months ago

0.12.3-next.2

12 months ago

0.13.0-next.17

11 months ago

0.15.0-next.3

5 months ago

0.15.0-next.2

5 months ago

0.13.6

11 months ago

0.13.7

11 months ago

0.13.9

11 months ago

0.13.0

11 months ago

0.13.1

11 months ago

0.15.0

5 months ago

0.13.2

11 months ago

0.15.1

5 months ago

0.13.3

11 months ago

0.13.5

11 months ago

0.13.8-next.0

11 months ago

0.13.8-next.1

11 months ago

0.13.4-next.0

11 months ago

0.14.1-next.10

6 months ago

0.13.12

9 months ago

0.13.11

9 months ago

0.13.10

10 months ago

0.14.1-next.9

6 months ago

0.14.1-next.8

6 months ago

0.14.1-next.7

6 months ago

0.14.1-next.6

6 months ago

0.14.1-next.5

6 months ago

0.14.1-next.4

6 months ago

0.14.1-next.3

6 months ago

0.14.1-next.2

6 months ago

0.14.0-next.1

9 months ago

0.14.0-next.2

7 months ago

0.14.0-next.3

6 months ago

0.13.14

9 months ago

0.13.13

9 months ago

0.14.1-next.1

6 months ago

0.14.1-next.0

6 months ago

0.14.0

6 months ago

0.12.2

12 months ago

0.12.3

12 months ago

0.12.4

12 months ago

0.12.5

12 months ago

0.12.6

11 months ago

0.15.2-next.0

5 months ago

0.15.0-next.1

5 months ago

0.12.3-next.1

12 months ago

0.12.3-next.0

12 months ago

0.13.0-next.16

1 year ago

0.13.0-next.15

1 year ago

0.13.0-next.14

1 year ago

0.13.0-next.13

1 year ago

0.12.1

1 year ago

0.13.0-next.12

1 year ago

0.13.0-next.11

1 year ago

0.13.0-next.10

1 year ago

0.13.0-next.9

1 year ago

0.13.0-next.8

1 year ago

0.11.0

1 year ago

0.12.0

1 year ago

0.13.0-next.1

1 year ago

0.13.0-next.3

1 year ago

0.13.0-next.2

1 year ago

0.13.0-next.5

1 year ago

0.13.0-next.4

1 year ago

0.13.0-next.7

1 year ago

0.13.0-next.6

1 year ago

0.10.10

1 year ago

0.10.0

1 year ago

0.10.0-alpha.1

1 year ago

0.10.9

1 year ago

0.10.1

1 year ago

0.10.0-beta.2

1 year ago

0.10.2

1 year ago

0.10.0-beta.3

1 year ago

0.10.3

1 year ago

0.10.4

1 year ago

0.10.0-beta.1

1 year ago

0.10.5

1 year ago

0.10.6

1 year ago

0.10.7

1 year ago

0.10.0-beta.4

1 year ago

0.10.8

1 year ago

0.9.1

1 year ago

0.9.0

2 years ago

0.9.0-next.1

2 years ago