Giter VIP home page Giter VIP logo

scrtsibyl-contract's Introduction

๐Ÿš€ SCRT SIBYL CONTRACT

scrt sibyl image

This is a secret contract in Rust to run in Secret Network. To understand the framework better, please read the overview in the cosmwasm repo, and dig into the cosmwasm docs.

At a Glance

SCRTSibyl is an oracle for credit scoring developed for the Secret Network. The oracle returns a numerical, private, and encrypted credit score affirming users' credibility and trustworthiness within the Secret Network ecosystem. The DApp was designed with one specific use case in mind: P2P micro-lending, which is facilitating lending and borrowing of microloans ranging between $1-25K USD. Running a credit score check on a user you are considering lending money to or borrowing money from, will inform you whether and how much a user can pay back upon loan issuance.

More info on the algo here.


Execute Locally

First install a recent version of rust and cargo via rustup.

Then install cargo-generate.

cargo install cargo-generate --features vendored-openssl

Clone the repo:

git clone https://github.com/BalloonBox-Inc/SCRTSibyl-Contract.git

For testing:

cargo test

Note: add args -- --nocapture to debug tests

To build a wasm file:L

cargo wasm

You'll find the built file in /target/wasm32-unknown-unknown/release/name_of_your_contract.wasm

To build an optimized wasm file (without using Docker) run:

make _build-mainnet

then to copy it and zip it into the source folder:

make compress-wasm

you can check out the makefile file for the detailed scripts.

scrtsibyl-contract's People

Contributors

mattdm3 avatar mmortelliti avatar irene-bbox avatar

Watchers

Michael Brink avatar

Forkers

mattdm3

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.