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

civil.ts

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

civil.ts

The core library allowing for interfacing with the whole Civil ecosystem

  • 1.0.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

civil.ts

CircleCI The core library allowing for interfacing with the whole Civil ecosystem

Development

Code generation

Civil.ts uses auto-generated code from Smart-Contract .json artifacts. Run npm run generate-contracts to create them in the src/contracts/generated/ directory, afterwards develop as normal. The templates for code generation can be found src/contracts/templates/.

To add a new smart contract to the mix, add a new .json definition to src/artifacts/ and add it to the list in src/artifacts.ts. Afterwards regenerate contracts with npm run generate-contracts and use your new shiny generated code.

FAQs

Package last updated on 20 Jan 2018

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