尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Invoice financing through a smart contract on Avalanche
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Invoice financing through a smart contract on Avalanche: small businesses get paid today instead of waiting 90 days, and the contract handles the rest.
Winner of the Revoluchain hackathon (Prilep, October 2026), backed by Avalanche team1.
The contract also refuses to let an invoice be sold twice, records whether each payment was on time or late, and keeps a public payment record for every client.
| Path | What it is |
|---|---|
contracts/PayDay.sol | The smart contract (Solidity 0.8.20+) |
test/PayDay.t.sol | Foundry tests for every contract rule |
app/index.html | The web app: Business, Client, Investor and Public board views, with a built-in demo mode |
foundry.toml | Foundry settings (compiler 0.8.24, 1,000 fuzz runs per fuzz test) |
Needs Foundry (forge).
forge test # run all tests
forge test -vvv # with details on any failure
forge coverage --report summary # how much of the contract the tests exercise
Current result: 42 tests passing, 100% line, branch and function coverage of PayDay.sol. The tests cover invoice creation rules, client-only confirmation, listing and price limits, the atomic buy, double-sale rejection, resale, on-time vs late payment, overdue status, and fuzz tests with random prices and payment times.
python3 -m http.server 8000 --directory app
Then open http://localhost:8000 in Chrome. That's the landing page; the app is at /app.html.
http://localhost is required, because MetaMask doesn't connect to pages opened as files. ?c=0x… points the app at another deploy./app.html?demo): a simulated chain in the browser with the same rules as the contract. No wallet needed.Live on Avalanche Fuji testnet (C-Chain, chain ID 43113), source verified on Snowtrace.
Website: https://paydayinvoice.vercel.app (landing) · https://paydayinvoice.vercel.app/app (app) · hosted on Vercel, deploys automatically on every push to main (root directory app/).
| Contract | 0x9983d1f7aF8328a92cFb76cBeb12c7894D14D0Ed |
| Deploy transaction | 0x94a7520c…3309a |
| Block | 60051288 |
| Deployed | 26 October 2026 |
The app has this address built in (CONTRACT in app/app.html).
Hackathon prototype on the Avalanche Fuji testnet. Not ready for mainnet or real funds. Before mainnet it needs: stablecoin payments, private invoice data (hash only on-chain), verified companies, pull payments, an emergency pause, a way to cancel or reprice a listing, and an independent security audit.
Two of these limitations are pinned down by tests, so the fix can be checked later:
test_KnownIssue_RejectingHolderBlocksClientPayment: if the invoice holder's wallet refuses AVAX, the client cannot pay at all (fix: pull payments).test_List_RepriceWhileListed_Reverts: a listed invoice cannot be repriced or taken off the market.