DFinance is a decentralized lending and borrowing protocol on ICP. The protocol uniquely combines liquidity mining with deflationary buy and burn mechanics.
Clone the repository and follow the below commands:
# Install node modules
npm install
# Start dfx server
dfx start --clean --background
# Initialize deps
dfx deps pull
dfx deps init
dfx deps deploy
# Deploy local ledgers and canisters
cd scripts
cd deploy_scripts
./deploy.sh
# For frontend using npm
npm start
Copyright (c) 2024, ICP-hub
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.