1.0.18 • Published 11 months ago

@veive/mod-validation-as v1.0.18

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

Veive SCA Validation Module

This package provides the interface and implementation for an operation validation module that adds functionality to the Veive smart account on the Koinos blockchain. Inspired by the ERC-7579 standard, it focuses on validating operations to ensure they meet specific criteria before execution. The ModValidation module is invoked through the is_valid_operation method of the smart account.

Installation

To install the package, use npm or yarn:

npm install @veive/mod-validation

Usage

Importing the Package

First, import the necessary components from the package:

import { modvalidation, Modvalidation, IModvalidation } from '@veive/mod-validation';

Example Implementation

Create a validation module by extending Modvalidation:

import { Modvalidation } from '@veive/mod-validation';

class MyValidationModule extends Modvalidation {
  // Your implementation here
}

Scripts

Build

To compile the package, run:

yarn build

Dist

To create a dist, run:

yarn dist

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

1.0.18

11 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

12 months ago

1.0.12

12 months ago

1.0.11

12 months ago

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago