Skip to content

Solidity smart contract for on-chain whitelist management. Node.js service tracks additions using Alchemy Web3 and Dockerizes for deployment.

License

Notifications You must be signed in to change notification settings

iamNickDev/wallet-list-dapp

Repository files navigation

Wallet-List-Dapp

This project comprises a Solidity smart contract for on-chain whitelist management and a Node.js service to track additions using Alchemy Web3. Additionally, it Dockerizes the event-monitoring service for deployment.


Table of Contents

  1. Prerequisites
  2. Getting Started
  3. Docker Setup
  4. Testing the Contract
  5. Find Deployed Smart Contract

Prerequisites

  • Node.js version 18 or higher
  • Docker (for running the Docker image)

Getting Started

Clone Repository

# Clone the repository
https://github.com/iamNickDev/wallet-list-dapp.git

# Navigate to the project directory
cd Test-AddWallet-Task

Deploy Contract

Deploy the contract file using the Remix IDE.

Setup npm Project

# Install dependencies 
yarn install

Create a .env file in the root folder and add all the environment variables from example.env. Copy the contract address and add it to .env.

Docker Setup

# Build the Docker image (make sure the name is in lowercase)
docker build -t event-monitoring-service .

# Run the Docker container
docker run --env-file .env event-monitoring-service .

Testing the Contract

Call the addWallet function using Remix or any blockchain explorer.

Find Deployed Smart Contract


This structure provides clear instructions for setting up the project, deploying the contract, and running the Docker container. Additionally, it includes links to the deployed smart contract for reference.

About

Solidity smart contract for on-chain whitelist management. Node.js service tracks additions using Alchemy Web3 and Dockerizes for deployment.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published