1.2.0 • Published 17 days ago

opact-sdk v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
17 days ago

Opact

What is Opact Protocol

OPACT is a privacy layer application on top of multiple different blockchains.

Developers in those blockchains can use OPACT to integrate privacy features in their application

The SDK

The SDK provides abstranctions to implement the opact privacy system.

Guidelines

  • Use the present tense ("Add feature" not "Added feature") and the imperative mood ("Move class to..." not "Moves class to...") on commits and use the name issue on pull requests.
  • Pull requests must be reviewed before merged.
  • Done is better than perfect. Does it work as expected? Ship now, iterate later.
  • All contributions must have tests. Remember to verify the Github Actions CI status.
  • Every commit is checked using Github Actions.
  • If the CI status are not passing, the deploy will not work.

Coding Style

Task Management

  • GitHub Issues is used to track all tasks that needed to be done.
  • Opact board is used to get a decent look on what's going on wright now.
  • Every two weeks all done tasks are put together in a Milestone and the current Sprint is closed.
  • Issues Board: https://github.com/orgs/hack-a-chain-software/projects/5

Directory Structure

Here's a brief overview of the SDK structure:

├── .github
│   └── CI              # CI Workflow: validate TS and check all tests 
├── src
│   └── Batch           # The Batch module provides solutions for composing transactions related to withdrawals or deposits.
│   └── Constants       # The Constants module includes essential utilities such as base token definitions, and constants for Merkle tree.
│   └── Encryption      # The Encryption module offers solutions for encryption tasks, including functions for both decryption and encryption.
│   └── Kadena          # The Kadena module: provides solutions for interacting with the Kadena blockchain like: creating deposit and withdrawal transactions
│   └── Keys            # The Keys module offers key derivation solutions to generate wallets compatible with opact protocol
│   └── Merkle-tree     # The Merkle Tree module provides solutions and services for constructing a valid Merkle tree by retrieving each leaf from the indexer
│   └── Proof           # The Proof module provides solutions to assist in generating proofs for the Opact circuit
│   └── Receipts        # The Receipts module: offers solutions for the creation and encryption of receipts
│   └── Storage         # The Storage module provides services for managing cached data, such as persisting wallet login or caching UTXOs
│   └── Utxo            # The UTXO module provides solutions for creating UTXOs essential for utilizing the Opact protocol
├── package.json

Installation

Opact Protocol is powered by Hack-a-chain.


Steps

1) Clone the repository:

$ gh repo clone hack-a-chain-software/kadena-product
$ cd kadena-product

2) Check all packages and copy the .env.example file and edit it with your environment config:

$ cp ./front/.env.example ./front/.env

3) Install frontend dependencies via PNPM

$ pnpm install

3) Run tests

$ pnpm test
1.2.0

17 days ago

1.1.44

3 months ago

1.1.43

3 months ago

1.1.38

3 months ago

1.1.37

3 months ago

1.1.39

3 months ago

1.1.41

3 months ago

1.1.40

3 months ago

1.1.36

3 months ago

1.1.35

3 months ago

1.1.34

4 months ago

1.1.29

4 months ago

1.1.28

4 months ago

1.1.30

4 months ago

1.1.33

4 months ago

1.1.32

4 months ago

1.1.31

4 months ago

1.1.27

4 months ago

1.1.25

4 months ago

1.1.24

4 months ago

1.1.23

4 months ago

1.1.22

4 months ago

1.1.21

4 months ago

1.1.16

5 months ago

1.1.15

5 months ago

1.1.14

5 months ago

1.1.19

5 months ago

1.1.18

5 months ago

1.1.17

5 months ago

1.1.13

5 months ago

1.1.9

5 months ago

1.1.12

5 months ago

1.1.11

5 months ago

1.1.10

5 months ago

1.1.8

5 months ago

1.1.7

5 months ago

1.1.1

5 months ago

1.1.6

5 months ago

1.1.5

5 months ago

1.1.4

5 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.0.62

7 months ago

1.0.61

7 months ago

1.0.60

7 months ago

1.0.66

7 months ago

1.0.65

7 months ago

1.0.64

7 months ago

1.0.63

7 months ago

1.0.69

7 months ago

1.0.68

7 months ago

1.0.67

7 months ago

1.0.73

7 months ago

1.0.72

7 months ago

1.0.71

7 months ago

1.0.70

7 months ago

1.0.77

6 months ago

1.0.76

6 months ago

1.0.75

6 months ago

1.0.74

7 months ago

1.0.79

6 months ago

1.0.78

6 months ago

0.0.62

7 months ago

1.1.0

5 months ago

1.0.39

7 months ago

0.0.64

7 months ago

1.0.38

7 months ago

0.0.60

7 months ago

0.0.61

7 months ago

1.0.40

7 months ago

1.0.44

7 months ago

1.0.43

7 months ago

1.0.42

7 months ago

1.0.41

7 months ago

1.0.48

7 months ago

1.0.47

7 months ago

1.0.46

7 months ago

1.0.45

7 months ago

1.0.49

7 months ago

1.0.51

7 months ago

1.0.50

7 months ago

1.0.55

7 months ago

1.0.54

7 months ago

1.0.53

7 months ago

1.0.52

7 months ago

1.0.59

7 months ago

1.0.58

7 months ago

1.0.57

7 months ago

1.0.56

7 months ago

1.0.19

7 months ago

1.0.2

7 months ago

1.0.18

7 months ago

1.0.1

7 months ago

1.0.17

7 months ago

1.0.0

7 months ago

1.0.16

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.22

7 months ago

1.0.21

7 months ago

1.0.20

7 months ago

1.0.26

7 months ago

1.0.25

7 months ago

1.0.24

7 months ago

1.0.23

7 months ago

1.0.29

7 months ago

1.0.28

7 months ago

1.0.27

7 months ago

0.1.0

7 months ago

1.0.33

7 months ago

1.0.32

7 months ago

1.0.31

7 months ago

1.0.30

7 months ago

1.0.37

7 months ago

1.0.36

7 months ago

1.0.35

7 months ago

1.0.34

7 months ago

1.0.80

6 months ago

1.0.84

6 months ago

1.0.83

6 months ago

1.0.82

6 months ago

1.0.81

6 months ago

1.0.88

5 months ago

1.0.87

5 months ago

1.0.86

5 months ago

1.0.85

5 months ago

1.0.89

5 months ago

1.0.91

5 months ago

1.0.90

5 months ago

1.0.95

5 months ago

1.0.94

5 months ago

1.0.93

5 months ago

1.0.92

5 months ago

1.0.99

5 months ago

1.0.11

7 months ago

1.0.98

5 months ago

1.0.10

7 months ago

1.0.97

5 months ago

1.0.96

5 months ago

1.0.15

7 months ago

1.0.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

0.0.40

7 months ago

0.0.41

7 months ago

0.0.42

7 months ago

0.0.43

7 months ago

0.0.44

7 months ago

0.0.45

7 months ago

0.0.46

7 months ago

0.0.47

7 months ago

0.0.37

7 months ago

0.0.38

7 months ago

0.0.39

7 months ago

0.0.30

7 months ago

0.0.31

7 months ago

0.0.32

7 months ago

0.0.33

7 months ago

0.0.34

7 months ago

0.0.35

7 months ago

0.0.36

7 months ago

0.0.26

7 months ago

0.0.27

7 months ago

0.0.28

7 months ago

0.0.29

7 months ago

0.0.20

7 months ago

0.0.21

7 months ago

0.0.22

7 months ago

0.0.23

7 months ago

0.0.24

7 months ago

0.0.25

7 months ago

0.0.59

7 months ago

0.0.15

8 months ago

0.0.16

8 months ago

0.0.17

7 months ago

0.0.18

7 months ago

0.0.19

7 months ago

0.0.51

7 months ago

0.0.52

7 months ago

0.0.53

7 months ago

0.0.54

7 months ago

0.0.10

8 months ago

0.0.55

7 months ago

0.0.11

8 months ago

0.0.56

7 months ago

0.0.12

8 months ago

0.0.57

7 months ago

0.0.13

8 months ago

0.0.58

7 months ago

0.0.14

8 months ago

0.0.50

7 months ago

0.0.48

7 months ago

0.0.9

8 months ago

0.0.49

7 months ago

0.0.8

8 months ago

0.0.5

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.4

8 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago