Code Monkey home page Code Monkey logo

interact_with_ethereum_tokens's Introduction

This was a little project as a proof of ability to interact with Blockchai networks

Task description:

You would need to create simple backend service that has one GrapQL query and one mutation and js
script.
Backend service:
1. Query should take wallet address as a parameter and return the balance of LSS tokens in that
wallet.
2. Mutation should take three arguments: message (any string), wallet address and signature. Then
it should validate if the provided address matches the one recovered from the signature and the
message.
JS Script:
Script should generate the signature for the provided message and private key
  • Infura used as the Gateway to connect to Ethereum mainnet
  • docs contains Postman collection
  • jsScript contains client side logic
  • backend contains the integration part

to start Backend server:

npm ci then npm run start

to check client side, open the following file in a browser:

jsScript/index.html

interact_with_ethereum_tokens's People

Contributors

meow-jsx avatar

Watchers

 avatar  avatar

Forkers

shobeirimajid

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.