Skip to content

fight-club-dao/huma-contracts

Repository files navigation

Huma Finance

Welcome to Huma Finance EVM contracts

Version Documentation License: AGPL v3 Twitter: humafinance Join Discord

Huma Finance EVM contracts

Demo

Setup development environment

Prerequisites: You need node.js v16+ and yarn installed.

Checkout this repository

git clone https://github.com/00labs/huma-contracts
cd huma-contracts

Install the dependencies

yarn install

Compile and run tests

yarn compile
yarn test

Other useful commands

To lint

yarn lint-solidity

Deploy on Goerli testnet

Put DEPLOYER, GOERLI_URL and PROXY_OWNER in .env.

yarn hardhat run --network goerli deployment/deploy-goerli.js
yarn hardhat run --network goerli deployment/init-goerli.js

Deployed contract addresses are in deployment/goerli-deployed-contracts.json.

Upgrade on goerli

Put DEPLOYER, GOERLI_URL and PROXY_OWNER in .env.

yarn hardhat run --network goerli deployment/upgrade-goerli-receivable-factoring-pool.js
yarn hardhat run --network goerli deployment/run-goerli.js

Verify contracts on etherscan

yarn hardhat run --network goerli deployment/verify-goerli-receivable-factoring-pool.js

Author

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

This project is AGPL v3 licensed.


This README was generated with ❤️ by readme-md-generator

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published