🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@polymarket/relayer-deposits

Package Overview
Dependencies
Maintainers
7
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymarket/relayer-deposits

Setup for writing Solidity smart contracts

npmnpm
Version
0.0.2
Version published
Weekly downloads
1.5K
8.87%
Maintainers
7
Weekly downloads
 
Created
Source

Solidity Template

My favourite setup for writing Solidity smart contracts.

  • Hardhat: compile and run the smart contracts on a local development network
  • hardhat-deploy: intelligently manage contract deployments and Etherscan verification
  • TypeChain: generate TypeScript types for smart contracts
  • Ethers: renowned Ethereum library and wallet implementation
  • Waffle: tooling for writing comprehensive smart contract tests
  • Solhint: linter
  • Solcover code coverage
  • Prettier Plugin Solidity: code formatter

This is a GitHub template, which means you can reuse it as many times as you want. You can do that by clicking the "Use this template" button at the top of the page.

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

yarn install

Compile

Compile the smart contracts with Hardhat:

yarn compile

TypeChain

Compile the smart contracts and generate TypeChain artifacts:

yarn build

Lint Solidity

Lint the Solidity code:

yarn lint:sol

Lint TypeScript

Lint the TypeScript code:

yarn lint:ts

Test

Run the Mocha tests:

yarn test

Coverage

Generate the code coverage report:

yarn coverage

Clean

Delete the smart contract artifacts, the coverage reports and the Hardhat cache:

yarn clean

Keywords

blockchain

FAQs

Package last updated on 15 Jul 2021

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