Coder Social home page Coder Social logo

crypton's Introduction

Hey there! wave My name is Gio

Github

Check out my interactive porfolio by clicking 👉 here 👈

I am a true '10x developer'. ENTJ personality, natural born leader.
Currently working on my personal projects. I use ASP.NET Blazor, Rust, Python and many other langauges / frameworks for my personal projects.
I want to learn as many technologies as I can and create something which will change the world to be a better place one-step at a time
In my free time I'm contributing to some open source projects, and maintaining these libraries Blazor QuickForm, rgbprint and rustkit

  • 🔭 I love CUDA CUDA and ridiculous performance code.
  • in my free time, I am also working on Crypton

💡 Skills:

Csharp  Blazor  ASPNET  Go  C  C++  CUDA  Rust  Docker  Python  Django  FastApi  Flask  pandas  numpy  Node.js  Three.js  Express.js  React.js  JavaScript  TypeScript  HTML  CSS 

and a lot more :D


⚙️ GitHub Analytics

😻 Here are some cats :3

cat cat cat cat cat cat cat cat cat cat cat cat cat cat cat cat cat

crypton's People

Contributors

ddjerqq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

behnik minhhungit

crypton's Issues

Implement Rate limiting

this looks like a good start to implement rate limiting for transaction and auth endpoints, so that users can't spam them, and load the API.
we will also have multiple configs for rate limiting different kinds of endpoints.

Refactor TransactionService

we should convert it into a scoped service which will use another abstraction for the Transaction list, which will expose the readonly list with a method to add transactions to it. it will be a bare-bones, in-memory store for the transactions, which will be initialized only once when the app starts.

Implement Idempotency for transaction endpoints

we must implement Idempotency for all non-idempotent endpoints, such as, for example, transaction/create.
I am thinking about having the client generate and send the idempotent keys (GUIDs for simplicity) and then making a service which will track idempotent keys and the states of their requests started / finished.

Optimize Sha256 calculation and block mining.

the current code is allocating excessive amounts of memory and is using too much resources to mine transactions
image

image

Ideally I want to box the complex logic of optimized mining of the transactions, and abstract it into a simple class which will handle all the complexities.

Transaction completion notifications and subscribers.

Modify the Transaction worker, so that it returns the scheduled transaction's Id, which will eventually be mined.
Also modify the TransactionService so that it publishes some kind of INotification when a transaction gets mined, so that not only can we notify the user about this, but also let everyone subscribe to the live blockchain.

Add daily coins

users should be able to collect coins daily, and have a property to see the streak (upto 7) and collection time utc

Better rate limiting, per user + timed

a rate limiter, which will time how often users can perform actions, this seems complex as ****, we will need to save the action performances in the database, or some other way.

basic UI/UX

Pages to implement:

  • Register
  • Login
  • Collect daily
  • Create Transaction
  • See other users
  • See / Manage inventory / sell items

Captcha, 2fa, Email confirmation

I will eventually (not in the V1 tho) implement Captcha (for some endpoints), 2Fa, Email confirmation, and maybe even phone confirmation providers.

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.