Giter Site home page Giter Site logo

web3-be-challenge's Introduction

Cryptologic web3/backend application challenge.

The main goal of this challenge is to create a backend application writen in nodejs/typescript that consumes, processes and store blockchain data.

To achieve this, the following items are required.

  • Create a fork of the current repository, once the challenge is done submit a proper PR.
  • Instantiate a web3 o etherjs object with an public RPC (in this case we will use Avalanche EVM C-Chain)
  • create a MongoDB database connection withing the runtime

Having this transaction as a starting point 0x508217c172c3cfe006ee9ca5bef621ba11a359461bacfc0494f1449a7d00f443 it is required to:

  • Use web3.js or ethers.js proper methods to fetch transaction data details

  • Fetch and save main contract ABI and bytecode and save them into a file and database

  • Understand and parse the event log to show in a básic REST response the decoded events and its parameters

  • Create a basic REST endpoint that once queried saves the parsed data into a MongoDB document.

  • Create a basic REST endpoint to get the previously saved data.

Must have:

  • Basic error handling
  • Basic README file
  • Basic explaination of the work done

Extra points:

  • unit testing
  • Docker build

References:

Event logs

Web3 doc

EthersJS dock

topics & getPastLogs

web3-be-challenge's People

Contributors

maxidev avatar

Watchers

 avatar

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.