Skip to content

Instantly share code, notes, and snippets.

View samuelajala01's full-sized avatar
💻
Building...

Samuel Ajala samuelajala01

💻
Building...
View GitHub Profile
@samuelajala01
samuelajala01 / readme.md
Last active March 21, 2022 02:04
Blockgames task 4 - A proposal for the creation of a dApp, this is a Blockgames.gg task

Blockgames Task - [A Crowdfunding platform on Blockchain] - by [Samuel Ajala - samuelajala01]

After watching some tutorials at the beginning of my Blockchain development journey, I noticed the most useful area for blockchain at this moment is Finance, because it's very likely that if this tech is fully implemented in the finance sector, it will wipe out all financial institutions. I also noticed there's alot of token/crypto transfers on the chain, I then decided to combine those, how about we have an app that can be used to crowdsource without intermediaries.

The dApp will be deployed on the Ethereum Blockchain, it will enable anyone with a wallet to be able to donate tokens/coins to cause creators that page for a particular cause of funding, for a duration, or if threshold is reached, similar to GoFundMe. Cause creators can then withdraw the donations.

@samuelajala01
samuelajala01 / .deps...remix-tests...remix_accounts.sol
Created March 10, 2022 02:51
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;