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

@wharfkit/contract

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wharfkit/contract

ContractKit for Wharf

  • 0.1.0-beta1
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-1.81%
Maintainers
3
Weekly downloads
 
Created
Source

Contract Kit

Greymass TypeScript library template, intended for libraries that work in any JavaScript context (node.js, Browser, React native), @types/node are installed only for tests, don't rely on any node.js types or imports inside src/ (no buffer, crypto imports etc, they can be filled for browser but will bloat the bundle 100x)

Installation

The contract package is distributed as a module on npm.

yarn add contract
# or
npm install --save contract

Usage

To generate the Contract helper for a specific Antelope contract, use the generate make target:

make generate contract=<CONTRACT_NAME_HERE>

and your contract helper will be added to contracts/CONTRACT_NAME.ts.


## Developing

You need [Make](https://www.gnu.org/software/make/), [node.js](https://nodejs.org/en/) and [yarn](https://classic.yarnpkg.com/en/docs/install) installed.

Clone the repository and run `make` to checkout all dependencies and build the project. See the [Makefile](./Makefile) for other useful targets. Before submitting a pull request make sure to run `make lint`.

---

Made with ☕️ & ❤️ by [Greymass](https://greymass.com), if you find this useful please consider [supporting us](https://greymass.com/support-us).

FAQs

Package last updated on 17 Jul 2023

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