Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amplica-labs/frequency-scenario-template

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplica-labs/frequency-scenario-template

Scaffolding to enable streamlined scripting of local Frequency chain state for development

  • 1.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by66.67%
Maintainers
2
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 17 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc