New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@perp/contract

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perp/contract

Please refer Perpetual Protocol [documentation](https://docs.perp.fi/) for more details.

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
18
decreased by-68.97%
Maintainers
4
Weekly downloads
 
Created
Source

Perpetual Protocol

Please refer Perpetual Protocol documentation for more details.

Welcome contributions to this project. Please join our Discord to discuss.

Local development and testing

Requirements

You should have Node 12 installed. Use nvm to install it.

Get started

Clone this repository, install NodeJS dependencies, and build the source code:

git clone git@github.com:perpetual-protocol/perp-contract.git
npm i
npm run build

Local development

Deploy in the local enviroment, deployed contract addresses listed in build/system-local.json.

npm run dev

Testing

Run all the test cases,

npm run test

If you only want to run partial test cases, add .only at test cases or test sections. For example,

describe.only("Amm Unit Test", () => {
...
}

or 

it.only("admin open amm", async () => { ... }

License

GPL3.0 or later

FAQs

Package last updated on 14 Dec 2020

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