Giter Site home page Giter Site logo

pocinnovation / chainme Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 1.0 242 KB

ChaineMe is a project aiming to create a cybersecurity platform with blockchain challenges. Through the challenges, you're going to learn the basics of blockchain's cybersecurity to secure the smart contracts you may have to create.

License: MIT License

Solidity 65.24% JavaScript 34.16% Shell 0.24% Dockerfile 0.36%
solidity security-challenge etherum

chainme's Introduction

ChainMe

Description

ChaineMe is a project aiming to create a cybersecurity platform with blockchain challenges.

It's going to be only not only for Solidity (Etherum's smart contract language) like most of the others platforms but there is going to be challenges in a wide range of blockchain languages.

Through the challenges, you're going to learn the basics of blockchain's cybersecurity to secure the smart contracts you may have to create.

With this project, we started by learning a lot of general knowledge about P2P / blockchain. Then we learnt how to use IPFS (a distributed system for storing and accessing files, websites, applications, and data), Solidity and the main thing was to solve challenges on platforms like Ethernaut and Damn Vulnerable DEFI. Once this was done, we started by creating the challenges.

Installation

To install this project, you're going to need NodeJS and NPM

You just need to execute the command bellow at the root of the repository:

npm install

Or you can simply build the docker image with:

docker image build -t IMAGE_NAME

Quick Start

To start using the challenges, you need two etherum wallet like metamask (one to host the challenges and one to attack the challenges), then set the environment variables listed bellow in the .env file and you can just launch the project in a docker container with docker run -it IMAGE_NAME COMMAND with as usage of the COMMAND:

npm run [init CHALLENGE] [test CHALLENGE ADDRESS]

Options:
    init CHALLENGE: init a challenge by its name stored in CHALLENGE variable\n
    test CHALLENGE ADDRESS: test a challenge by its name stored in CHALLENGE variable and from the instance address withen by ADDRESS argument\n

Features

It has so far four solidity's challenges:

Environnement

  • NODE_KEY Define the Key of the Etherum Node used
  • ETHERSCAN_API_KEY Define the Api Key of Etherscan
  • PRIVATE_KEY Define the Private key of the Wallet
  • PUBLIC_KEY Define the Public key of the Wallet

Dependencies

Authors

chainme's People

Contributors

0xtekgrinder avatar etarc0s avatar lucas-louis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

0xtekgrinder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.