Giter Club home page Giter Club logo

onicaigoes2024sabh's Introduction

onicaiGoes2024SABH

Alt text

Try it out!

The bitcoin-core network

To run locally, you must start up your own, local bitcoin-core network. See instructions in backend/donation_canister/README.md

The frontend & backend canisters

The dApp consists out of 3 canister, and each canister is treated as a standalone project.

To deploy the complete dApp, follow instructions in the README files, in this order:

  • backend/donation_canister/
  • backend/donation_tracker_canister
  • frontend

onicaigoes2024sabh's People

Contributors

icppworld avatar patnorris avatar

Watchers

 avatar

onicaigoes2024sabh's Issues

Dark text on dark background

Spot testing of the frontend showed the following:

image

The text is not readable.

  • This happens when the browser color mode is set to Dark.

  • On Ubuntu & Mac it happened on all browsers: Brave, Chrome, Firefox

  • On Windows it happened on all browsers except Chrome

  • On Android, it happened after installing it as an app

When the color mode is light, everything is fine.

Verify BTC Transaction Id Provided by Frontend

The frontend provides the donation record inputs, including the btc transaction id in the makeDonation function (

// Potential TODO: checks on inputs
). Currently, we don't verify this information on the backend but trust the frontend (plus anyone could call the canister function and thus spam the donation records).
We want to check that the transaction id provided is valid and that it has enough value left to make the donation as specified (i.e. value left equals or is greater than total donation amount).


Checks:
(-) If txid already exist in donation data, we can do quicker checks
(-) if txid does not yet exist in donation data, check btc if it exists
(-) get utxos > verify total is higher than donation amount


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.