@amplica-labs/frequency-scenario-template
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Frequency Scenario Template

Scaffolding and examples for scripting scenarios and setup for a local Frequency blockchain environment

To run an example script use the following command: npm run run-example --example=script-name

Amplica Access (AA) Scripts

The AA scripts folder are a group of scrips useful for bootstrapping and creating data for manual testing of AA. Currently, there are two scripts that can be used.

Startup

The startup script is used to boostrap the chain with the needed data for manually testing AA with the chain locally. This script can be run with the command: npm run run-example --example=amplica-access/aa-startup

Create User

This script utilizes the payload returned from AA to create a delegated user on the chain with a handle. This script requires a JSON file be created with the AA signup response in it. An example of this is in the signup-response.json.example. After creating your JSON file in the AA folder, you can run the create user command with an extra parameter to specify the JSON file name: npm run run-example --example=amplica-access/create-mewe-user -- --response signup-response.json

/@amplica-labs/frequency-scenario-template/

    Package Sidebar

    Install

    npm i @amplica-labs/frequency-scenario-template

    Weekly Downloads

    366

    Version

    1.1.4

    License

    Apache-2.0

    Unpacked Size

    393 kB

    Total Files

    102

    Last publish

    Collaborators

    • wilwade
    • scott_b_unf