An open API service indexing awesome lists of open source software.

https://github.com/codingwithmanny/solidity-signature-verification

A simple way to verify a wallet signature in a Solidity contract
https://github.com/codingwithmanny/solidity-signature-verification

Last synced: 5 months ago
JSON representation

A simple way to verify a wallet signature in a Solidity contract

Awesome Lists containing this project

README

          

# Solidity Signature Verification

A project that demonstrates wallet signatures being verified through a solidity contract.

If you like this check me out on Twitter at [@codingwithmanny](https://twitter.com/codingwithmanny)

## Requirements

- NVM or Node 16.17.0

## Local Setup

```bash
yarn;
# npm install;
```

## Running Local Node

**Shell Terminal 1:**

```bash
yarn hardhat:compile;
yarn hardhat:node;
```

## Running Local Tests

**Shell Terminal 2:**

```bash
yarn hardhat:test;
```

## Other Commands

Try running some of the following tasks:

```shell
npx hardhat help
npx hardhat test
GAS_REPORT=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts
```