Skip to content

In-depth audit of PasswordStore reveals top-notch security insights πŸ”, ensuring bulletproof smart contract password storage πŸ”’ on Ethereum πŸš€. Hit me asap for - ```Private Audits```!

Notifications You must be signed in to change notification settings

Steiner-254/PasswordStore-Audit

Repository files navigation

PasswordStore


password-store


A smart contract application for storing a password. Users should be able to store a password and then retrieve it later. Others should not be able to access the password.

Testnet deployment

Getting Started

Requirements

  • git
    • You'll know you did it right if you can run git --version and you see a response like git version x.x.x
  • foundry
    • You'll know you did it right if you can run forge --version and you see a response like forge 0.2.0 (816e00b 2023-03-16T00:05:26.396218Z)

Quickstart

git clone https://github.com/Cyfrin/3-passwordstore-audit
cd PasswordStore-Audit
forge build

Usage

Deploy (local)

  1. Start a local node
make anvil
  1. Deploy

This will default to your local node. You need to have it running in another terminal in order for it to deploy.

make deploy

Testing

forge test

Test Coverage

forge coverage

and for coverage based testing:

forge coverage --report debug

Audit Scope Details

  • Commit Hash: 7d55682ddc4301a7b13ae9413095feffd9924566
  • In Scope:
./src/
└── PasswordStore.sol
  • Solc Version: 0.8.18
  • Chain(s) to deploy contract to: Ethereum

Roles

  • Owner: The user who can set the password and read the password.
  • Outsides: No one else should be able to set or read the password.

About

In-depth audit of PasswordStore reveals top-notch security insights πŸ”, ensuring bulletproof smart contract password storage πŸ”’ on Ethereum πŸš€. Hit me asap for - ```Private Audits```!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published