Code Monkey home page Code Monkey logo

hunt-a-thon-debank's Introduction

Welcome to DeBank -> A decentralised safe yet profitable investment solution

All the irregularities in ROI in investments with the likes of equity and crypto trading deBank aims to give a stable interest rate on your investments. But you might be wondering that you can also earn stable ROI by depositing your money to the bank but banks hardly give 3-4 % interest rate. On the otherside we aim to give 6-9 % rate of interest. But you can also earn that through fixed deposit right ? WRONG fixed deposit charges you a hefty fee if you want to take out the money before maturity.

But how does DeBank solves that. We have a simple user workflow the user deposits their token and in exchange get an agreement. After the maturity of the agreement user can withdraw the token with the interest rate. BUT WHAT IF I WANT TO WITHDRAW BEFORE MATURITY ? Don't worry we got you covered . We have a secondary market where you can sell your agreement and the person you sell to becomes the owner of the agreement. Now oviously you won't get as much money as you were initially getting through withdrawl but it will be pretty useful in case of emergency.

alt text

how to start the file

install node, npm and other dependency

install all dependency needed by stellar from text

clone the repo

npm install

npm run dev

go to the smart-contract/DeBank

add the testnet

soroban network add
--global testnet
--rpc-url https://soroban-testnet.stellar.org:443
--network-passphrase "Test SDF Network ; September 2015"

get key

soroban keys generate --global alice --network testnet

soroban contract build

cargo build --target wasm32-unknown-unknown --release

soroban contract optimize --wasm target/wasm32-unknown-unknown/release/hello_world.wasm

soroban contract deploy
--wasm target/wasm32-unknown-unknown/release/hello_world.wasm
--source alice
--network testnet

alt text alt text alt text alt text# Hunt-a-thon-DeBank

hunt-a-thon-debank's People

Contributors

adarsh-dhar avatar

Watchers

 avatar

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.