Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The scoring system for Sacuda #100

Open
wants to merge 72 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
53808d5
First commit
carnisman Oct 4, 2022
3f7ea24
Update README.md
carnisman Oct 4, 2022
4080897
Update README.md
carnisman Oct 4, 2022
0328b13
Update README.md
carnisman Oct 8, 2022
aa14a13
Create logica.txt
carnisman Oct 14, 2022
b58e66a
Add files via upload
carnisman Oct 14, 2022
09e732b
Update README.md
carnisman Oct 14, 2022
780def5
Agregando magic login
carnisman Oct 19, 2022
a33b81a
Listo login, agregado primer menu
carnisman Oct 20, 2022
8562a63
Agregada conectividad a walle
carnisman Oct 20, 2022
bc9d2f3
Agregada pagina main, listo header
carnisman Oct 21, 2022
0173690
clean up root node_modules
7i7o Oct 25, 2022
3abb1db
add empty foundry project
7i7o Oct 25, 2022
24e9428
renamed contracts
7i7o Oct 25, 2022
d4af919
forge install: openzeppelin-contracts
7i7o Oct 25, 2022
ff99df9
Trabajando en la logica de mongodb, algunos errores persisten
carnisman Oct 25, 2022
44efbfe
ERC721 + AccessControl + Scoring
7i7o Oct 26, 2022
cb8f4fc
fixed unit tests
7i7o Oct 26, 2022
94f9188
fix: score function overflow
7i7o Oct 26, 2022
2309224
Update README.md
7i7o Oct 26, 2022
d59ef13
Merge pull request #1 from 7i7o/monorepo
7i7o Oct 27, 2022
becc3c8
se puede escribir en db
Nov 1, 2022
f049902
buidl: add on-chain NFT img with dynamic info
7i7o Nov 2, 2022
81d6cc8
Merge branch 'main' of https://github.com/carnisman/build-with-celo-h…
Nov 2, 2022
7759966
ÃÃavances en mongo
Nov 2, 2022
f067a07
Ya escribimos profile
Nov 2, 2022
85e410a
fix: inverted amountOwed + bugfix wrong variable used for weights
7i7o Nov 2, 2022
db5fc76
test: add updateName test
7i7o Nov 2, 2022
b02a7e3
Merge branch 'carnisman:main' into main
7i7o Nov 2, 2022
ddf5b70
Merge pull request #2 from 7i7o/main
7i7o Nov 2, 2022
7daf4a1
update: loaded deployed address in Alfajores
7i7o Nov 2, 2022
30d8c08
test: saved contract address and encoded parameter in comment
7i7o Nov 2, 2022
23794ae
Ãupdates en mongo
Nov 3, 2022
77e0ede
Merge branch 'main' of https://github.com/carnisman/build-with-celo-h…
Nov 3, 2022
c68d8b6
se graba mail en localstorage
carnisman Nov 5, 2022
7a8b277
Armando form para wobs
carnisman Nov 5, 2022
873613a
done profile upgrade
carnisman Nov 7, 2022
4b3411d
Terminado Dash del admin
carnisman Nov 8, 2022
882db4e
build: add burn + unified role for tasks
7i7o Nov 8, 2022
a1fc6b4
Ãupdates en mongo
Nov 3, 2022
5184a47
se graba mail en localstorage
carnisman Nov 5, 2022
2c03ee9
Armando form para wobs
carnisman Nov 5, 2022
3778758
done profile upgrade
carnisman Nov 7, 2022
f9a5964
Terminado Dash del admin
carnisman Nov 8, 2022
47c47bf
Merge pull request #3 from 7i7o/main
7i7o Nov 8, 2022
22bd0ec
Listo dash admin, ya aprueba y desaprueba
carnisman Nov 8, 2022
ad0b081
Merge branch 'main' of https://github.com/carnisman/build-with-celo-h…
carnisman Nov 8, 2022
f23b4c8
build: traits for nfts and address to tokenId mapping
7i7o Nov 8, 2022
3e08a72
add: contract interaction added
7i7o Nov 8, 2022
6265f04
Merge pull request #4 from 7i7o/main
7i7o Nov 8, 2022
2882e20
build: add maximum width for nft and changed name to uppercase for wa…
7i7o Nov 8, 2022
aaa99c7
Merge pull request #5 from 7i7o/main
7i7o Nov 8, 2022
ba235ce
corregidos bugs
carnisman Nov 9, 2022
a67a162
Merge branch 'main' of https://github.com/carnisman/build-with-celo-h…
carnisman Nov 9, 2022
3da8fdd
Final release for Celo Hackathon
carnisman Nov 14, 2022
bb9b6d6
Final release for Celo Hackathon
carnisman Nov 14, 2022
7be17fc
added correct contract manipulation
carnisman Nov 18, 2022
820d3da
uncommented mongo writes
carnisman Nov 18, 2022
0027797
Corrected uppercases
carnisman Nov 18, 2022
cbb07fa
Corrected uppercases
carnisman Nov 18, 2022
f9f1bce
Corrected unneeded files
carnisman Nov 18, 2022
4429f97
Corrected unneeded files
carnisman Nov 18, 2022
12e93f7
Corrected bugs for vercel
carnisman Nov 18, 2022
dc25037
Corrected bugs for vercel
carnisman Nov 18, 2022
74a7eb6
Corrected bugs for vercel
carnisman Nov 18, 2022
fdc31c4
Dockerfile added
carnisman Nov 18, 2022
3d65d89
Dockerfile added
carnisman Nov 18, 2022
a8e2761
Dockerfile added
carnisman Nov 18, 2022
3e3d025
Dockerfile added
carnisman Nov 18, 2022
fc8f05b
Final prod site
carnisman Nov 18, 2022
9da166c
Final prod site
carnisman Nov 18, 2022
267f636
Final prod site
carnisman Nov 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .gitignore
Empty file.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "contracts/lib/forge-std"]
path = contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "contracts/lib/openzeppelin-contracts"]
path = contracts/lib/openzeppelin-contracts
url = https://github.com/Openzeppelin/openzeppelin-contracts
33 changes: 0 additions & 33 deletions PROJECT_NAME/README.md

This file was deleted.

169 changes: 4 additions & 165 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,169 +1,8 @@
# ⚡ Build with Celo Hackathon
##Sacuda, a community-based fintech for women who led bussiness

Build with Celo Hackathon is a three (3) phase hackathon event focused on Regenerative Finance (#ReFi) within DAOs, NFTs, Gaming (GameFi), Social Impact (SocialFI) and developer tooling/infrastructure on the Celo platform.
# Introduction

## Hackathon Facilitation
Celo selected Hackerearth to facilitate the hackathon expereince. To learn more information about the Build on Celo hackathon event and register, navigate to Hackerearth Build on Celo hackathon site: [link](https://build-with-celo.hackerearth.com/)
Sacuda aims at closing the US$94 billion financing gap for women-led MSMEs, reducing the challenges they face when applying for financing. There is a gap between supply and demand, this is mainly due to not considering the reality and needs of women's businesses when defining the credit requirements and/or evaluation scores. Financial institutions have been sustaining the assumption that WOB hold the same characteristics as male ones. However we know that their businesses tend to be smaller, which does not necessarily mean less potential. Thus, Sacuda is looking to develop an alternative credit scoring that combines indicators of financial capacity and business potential in order to provide greater access as well as the development of a business profile. This will strongly contribute to the understanding of WOB that are part of the missing middle and therefore enable us to have the right credit model and provide tailored business support, direct advisory and matching with business development services (BDS) providers. Sacuda is a catalytic ecosystem that works by making business visible, sharing value, and using data science to provide the best services and experience possible for business women and entrepreneurs, in a secure, transparent, and collaborative way.

## Hackathon Tracks:

- __DAO Track:__
- Build decentralized web applications facilitating DAOs within ReFi, ReFi DAO Tools, and ReFi DAO Infrastructure.
- __NFT, Gaming and Creator Track:__
- Build an application incorporating ReFi, ReFi creators tools, and ReFi creators infrastructure
- __Social Impact Track:__
- Build a decentralized web applications focused on social impact within ReFi, Social impact ReFi Tools, and Social impact ReFi Infrastructure

## Timeline

#### Github commit schedule:

- 9/26 - Idea submission open until 9/26

- 9/19 - Fork this repo
- 9/23 - Change README
- 9/30 - At least 3 commits
- 10/7 - At least 3 commits
- 10/14 - At least 3 commits
- 10/21 - At least 3 commits
- 10/28 - At least 3 commits
- 11/4 - At least 3 commits

Three (3) phase hackathon event starting August 26th, 2022.
### Phase 1: Idea
- Hackathon Phase 1 Kick-off - August 26th, 2022
- Project Idea Submissions Due - September 26, 2022
- Idea Submissions Evaluated on rolling basis

### Phase 2: Hack/build MVP
- Hackathon Phase 2 Kick off - September 19th, 2022
- Project Submissions Due - November 6th, 2022
- Evaluations - November 7th - December 4th, 2022

### Phase 3: Iterate & Pitch with Celo
- Hackathon Phase 3 Kick off - TBD

## Process
**Hackathon participants will need to:**

1. [Fork this repo](#hackathon-repo-process)
2. Utilize [HackerEarth](https://build-with-celo.hackerearth.com/) to:
- Manage and collaborate with your team
- Submit your project for final evaluation

## Hackathon Repo Process

1. Fork this repo
- Press the Fork button
2. Create project branch
3. Make your changes within new branch!
- Copy the folder named **Project_Name**
- Rename the copied folder with your project name
- Modify project details within your project folder **Readme.md**
- Project Name
- Brief Description
- Team members & roles
- Hackathon track
- Project details
- Demonstartion video _(*Phase 2 & 3, Required)_
- Requirements _(*Phase 2 & 3, Required)_
- Instructions to build & test _(*Phase 2 & 3, Required)_

4. Add, commit, and push the changes
- Add the files you've changed and commit them with a descriptive message.
5. Submit your pull request _(*Phase 2 & 3, Required)_
- Submit to the maintainers for approval. Head over to the original repositories Pull Requests tab, you should see an automatic suggestion from GitHub to create a pull request from your new branch.
- Utilize your project name as the title for your initial pull Requests
- Provide a brief project description within the pull request comment

***Congrats, your officially a Build with Celo Hackathon participant!***


## Developer tools and resources

This section contains information about some of the key tools and resources that will help developers start building applications on Celo.

For a comprehensive list of resources and information, review [Celo Docs.](https://docs.celo.org/)

### QUICK START GUIDES

View the [Developer Code Examples page](https://docs.celo.org/developer#quickstart) to get started using the Celo SDKs with guided coding exercises.

### Tutorials
- [Tutorial - Celo Developer Blog](https://docs.celo.org/blog)

### TOOLS

#### Boilerplates
- [celo-composer](https://github.com/celo-org/celo-composer#celo-composer)
- Celo Composer allows you to quickly build, deploy, and iterate on decentralized applications using Celo. It provides a number of frameworks, examples, and Celo specific functionality to help you get started with your next dApp.

#### SDKs

- [ContractKit](https://docs.celo.org/developer/contractkit#what-is-contractkit)
- Javascript package of Celo blockchain utilities
- Manage connections to the Celo blockchain, accounts, send transactions, interact with smart contracts, etc.
- A set of wrappers around the core protocol smart contracts to easily connect with contracts related to governance, validators, on-chain exchange, etc.
- Includes [web3.js](https://web3js.readthedocs.io/en/v1.2.4/)
- [Celo Ethers.js Wrapper](https://github.com/celo-tools/celo-ethers-wrapper) (experimental)
- A minimal wrapper to make [ethers.js](https://docs.ethers.io/v5/) compatible with the Celo network
- [use-react](https://github.com/celo-org/react-celo)
- The easiest way to access Celo in your React applications 🔥. react-celo is a React hook for managing access to Celo with a built-in headless modal system for connecting to your users wallet of choice.
- Now your DApp can be made available to everyone in the Celo ecosystem, from Valora users to self custodied Ledger users.
- By default react-celo is styled so that you can drop it into your application and go, however it's fully customisable so you can maintain a consistent UX throughout your application.
- [DappKit](https://docs.celo.org/developer-guide/dappkit)
- Easily connect to the [Valora](http://valoraapp.com/) wallet with your React Native mobile application
- Valora manages user account, private keys and transaction signing, so you can focus on building your dapp
- Learn more and see the code with the [Dappkit truffle box](https://github.com/critesjosh/celo-dappkit)
- [Python SDK](https://github.com/blaize-tech/celo-sdk-py)
- [Java SDK](https://github.com/blaize-tech/celo-sdk-java)
- [Android with Java SDK](https://github.com/bcamacho/celo-android-java-sdk-test-example)
- [iOS SDK](https://github.com/heymateag/celoiossdk)



#### Infrastructure

- [Valora](https://valoraapp.com/) provides a clean, intuitive UI where users can send transactions and interact with smart contracts
- [Forno](https://stackedit.io/developer-guide/forno)
- Node access service so you can connect your dapp to the Celo blockchain without having to run node infrastructure
- [ODIS](https://stackedit.io/developer-resources/contractkit/odis.md)
- Oblivious decentralized identity service
- Lightweight identity layer that makes it easy to send cryptocurrency to a phone number
- Blockscout block explorers
- [Alfajores testnet](http://alfajores-blockscout.celo-testnet.org/) & [mainnet](http://explorer.celo.org/)
- [Stats.celo.org](http://stats.celo.org/) to check network activity and health


#### Networks

- [Alfajores Testnet](https://docs.celo.org/getting-started/alfajores-testnet)
- [Faucet](https://celo.org/developers/faucet) for free testnet CELO and cUSD
- [Forno](https://docs.celo.org/developer-guide/forno) supports connections to alfajores
- Requires Alfajores Celo wallet for mobile device testing (please request, support@clabs.co)
- [Baklava testnet](https://docs.celo.org/getting-started/baklava-testnet) for validators and testing protocol changes


#### Ethereum Tools

- Similarities between Celo and Ethereum means you can use many of the most popular Ethereum developer tools.
- Celo supports the EVM, so tools for writing smart contracts in Solidity (or any language that compiles to EVM bytecode) are compatible with Celo
- ERC20, NFT (ERC721) and other smart contract interface standards are supported, see [Celo for Ethereum Developers](https://docs.celo.org/developer-guide/celo-for-eth-devs)
- [Truffle](https://www.trufflesuite.com/)
- [OpenZeppelin](https://openzeppelin.com/)
- [Remix](https://remix.ethereum.org/)

#### Ongoing projects

- [Community projects](https://docs.celo.org/developer-guide/celo-dapp-gallery)
- [Grant recipients](https://celo.org/experience/grants/directory)

#### Web wallets
- [celowallet.app](https://celowallet.app/)
- [Celo Terminal](https://github.com/zviadm/celoterminal/)


#### Community

- Join our [Discord](https://chat.celo.org/)
- [Discourse Forum](https://forum.celo.org/)
Team Members: markus & 7i7o
Binary file added Sacuda_Project_Workflow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions contracts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Compiler files
cache/
out/

# Ignores development broadcast logs
!/broadcast
/broadcast/*/31337/
/broadcast/**/dry-run/

# Dotenv file
.env

# Other
assets/
3 changes: 3 additions & 0 deletions contracts/.gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
Loading