1.0.0-rc.29 • Published 9 months ago

@midcontract/protocol v1.0.0-rc.29

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@midcontract/protocol

Crypto payment protocol with escrow

stateDiagram-v2
    [*] --> PENDING
    PENDING --> SUBMITTED: submit
    SUBMITTED --> PENDING: approve
    SUBMITTED --> DISPUTED: dispute
    PENDING --> DISPUTED: dispute
    DISPUTED --> PENDING: resolve
    PENDING -->  [*]
sequenceDiagram
    opt Success
        Alice ->> Escrow: deposit
        Bob ->> Escrow: submit
        Alice ->> Escrow: reject
        Bob ->> Escrow: submit
        Alice ->> Escrow: approve
        Bob ->> Escrow: claim
    end
    opt Withdraw
        Alice ->> Escrow: deposit
        Bob -x Escrow: submit
        Alice ->> Escrow: withdraw
    end
    opt Dispute
        Alice ->> Escrow: deposit
        Bob ->> Escrow: submit
        Alice ->> Escrow: reject
        Bob ->> Escrow: dispute
        alt Bob
            Platform ->> Escrow: approve
            Bob ->> Escrow: claim
        else Alice
            Platform ->> Escrow: reject
            Alice ->> Escrow: withdraw
        end
    end

Install

npm install --save-prod @midcontract/protocol

Licensing

The primary license for the Midcontract protocol is MIT, see LICENSE

1.0.0-rc.29-5299047

10 months ago

1.0.0-rc.29-f96bb5b

10 months ago

1.0.0-rc.29-2485b57

10 months ago

1.0.0-rc.29-43b2505

10 months ago

1.0.0-rc.29-30f14f4

10 months ago

1.0.0-rc.29-91aec7f

10 months ago

1.0.0-rc.29-37cb1c7

10 months ago

1.0.0-rc.29-3a07775

10 months ago

1.0.0-rc.29-a29fee6

10 months ago

1.0.0-rc.29-4d5aecf

10 months ago

1.0.0-rc.29-021309a

10 months ago

1.0.0-rc.29-6e79dce

10 months ago

1.0.0-rc.29-f394666

10 months ago

1.0.0-rc.29-b469722

10 months ago

1.0.0-rc.29-bc01b87

10 months ago

1.0.0-rc.29-2cf21ba

11 months ago

1.0.0-rc.29-b33d60c

11 months ago

1.0.0-rc.29-14fe2a5

11 months ago

1.0.0-rc.29-2aa5b63

10 months ago

1.0.0-rc.29-035eaf2

10 months ago

1.0.0-rc.29-0f6bb17

11 months ago

1.0.0-rc.29-3687345

12 months ago

1.0.0-rc.29-1ae7e77

12 months ago

1.0.0-rc.29-af02d23

10 months ago

1.0.0-rc.29-0207603

10 months ago

1.0.0-rc.29-069af95

11 months ago

1.0.0-rc.29-3f9ad09

11 months ago

1.0.0-rc.29-722d8e9

10 months ago

1.0.0-rc.29-a241358

12 months ago

1.0.0-rc.29-19a5bac

12 months ago

1.0.0-rc.29-d25126b

11 months ago

1.0.0-rc.28

1 year ago

1.0.0-rc.27

1 year ago

1.0.0-rc.26

1 year ago

1.0.0-rc.29

10 months ago

1.0.0-rc.29-7b75aaf

11 months ago

1.0.0-rc.25

1 year ago

1.0.0-rc.24

1 year ago

1.0.0-rc.23

1 year ago

1.0.0-rc.22

1 year ago

1.0.0-rc.21

1 year ago

1.0.0-rc.20

1 year ago

1.0.0-rc.19

1 year ago

1.0.0-rc.18

1 year ago

1.0.0-rc.17

1 year ago

1.0.0-rc.16

1 year ago

1.0.0-rc.13

1 year ago

1.0.0-rc.15

1 year ago

1.0.0-rc.14

1 year ago

1.0.0-rc.9

1 year ago

1.0.0-rc.7

1 year ago

1.0.0-rc.8

1 year ago

1.0.0-rc.12

1 year ago

1.0.0-rc.11

1 year ago

1.0.0-rc.10

1 year ago

1.0.0-rc.5

1 year ago

1.0.0-rc.6

1 year ago

1.0.0-rc.4

1 year ago

1.0.0-rc.3

1 year ago

1.0.0-rc.2

1 year ago

1.0.0-rc.1

1 year ago

1.0.0-c8934573

1 year ago

1.0.0-alpha.0

1 year ago