Giter VIP home page Giter VIP logo

agora-blockchain's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

agora-blockchain's Issues

Adding Diamond Storage to Auth & Election Storage


name: Adding Diamond Storage to Auth & Election Storage
about: Implementing diamond storage on current elections & auth

Describe the purpose
The Current data state's implementation of Authentication.sol & ElectionStorage.sol uses the default storage ways for storing user data & the elections.
Screenshot 2024-01-30 at 12 39 11 AM
Screenshot 2024-01-30 at 12 39 19 AM
This standard way of storage is pointless as it breaks the purpose of diamond upgradability which works on shared storage.

Possible Implementation

We can use the official Diamond Storage which accesses a memory slot in the contract.
Screenshot 2024-01-30 at 12 42 15 AM

Additional context To implement this we access the data slots the same way LibDiamond.sol reads & allocates storage slots for functionToFacet selector in diamond. Below is an example implementation of how this works.
Screenshot 2024-01-30 at 12 46 21 AM
-> I was thinking of implemeting this storage contract only on Authentication and ElectionStorage.sol as these 2 Contracts cover the user and election data and the rest contracts are brought from the elections storage.

Adding Particle Auth


title: Adding Particle Auth
about: Create a issue for adding new feature
labels: new-feature
assignees: ""

Describe the purpose - Currently the app only uses metamask to connect to web3 making it difficult for other walllet and web2 users to join the network.

Possible Implementation -

  • Adding Particle Auth which will let users to onboard in a much simple way allowing anyone to join the network and register on Agora Blockchain.
  • This also provides an option to buy tokens for gas fees using fiat currency.
Screenshot 2024-01-27 at 7 06 48 PM

Make chatbot which give information about blockchain

This is an old issues raised by Nikunj Rohit (issue 54)

Describe the purpose
for blockchain-related learning, the purpose integrates a chatbot that gives information on anything related to blockchain.
Possible Implementation
-> add button which pop on click
-> make chatbot pop up component
-> integrate it with API and fetch the response and show it to the user.
Additional context
(Add any other context about the problem here.)

Make the artifacts dynamic on the front end and fix imports


name: Make the artifacts dynamic on the front end
about: Create a issue for adding new feature
title: "Dynamic Artifacts"
labels: new-feature
assignees: ""

Describe the purpose The artifacts in the current front end run on constant abi's which are to be manually copied down into the client/blockchainBuild folder. These builds have to be copied and pasted everytime we change the contract from the backend

Possible Implementation

  • Make hardhat artifacts to directly interact with the front-end
  • Fix the wrong imports in OneVote.sol
  • Fix the Scripts which are responsible for creating contract. As the present scripts just deploy Diamond but don't initalize it
  • Remove cache from serve/cache as its auto-generated
Screenshot 2024-01-27 at 12 54 01 AM Screenshot 2024-01-27 at 12 54 22 AM

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.