{"id":28320599,"url":"https://github.com/rechain-network-solutions/bonded-stablecoin","last_synced_at":"2026-03-05T05:30:55.986Z","repository":{"id":288139510,"uuid":"966757355","full_name":"REChain-Network-Solutions/Bonded-StableCoin","owner":"REChain-Network-Solutions","description":"Bonded Stable Coin system, written in OneScript/oscript.","archived":false,"fork":false,"pushed_at":"2025-06-30T14:41:33.000Z","size":178,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T03:21:20.909Z","etag":null,"topics":["bonded","onescript","oscript","oscript-lib","oscript-library","oscript-package","oscript-web","ovm","rechain","rechainapi","rechaincontract","rechainnetwork","stablecoin"],"latest_commit_sha":null,"homepage":"https://rechain.network","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/REChain-Network-Solutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":"governance.oscript","roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-15T12:10:51.000Z","updated_at":"2025-06-30T14:41:31.000Z","dependencies_parsed_at":"2025-07-20T02:42:34.861Z","dependency_job_id":"ceeca413-a6ec-4cc6-82ad-f8e8d06838b6","html_url":"https://github.com/REChain-Network-Solutions/Bonded-StableCoin","commit_stats":null,"previous_names":["rechain-network-solutions/bonded-stablecoin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/REChain-Network-Solutions/Bonded-StableCoin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REChain-Network-Solutions%2FBonded-StableCoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REChain-Network-Solutions%2FBonded-StableCoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REChain-Network-Solutions%2FBonded-StableCoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REChain-Network-Solutions%2FBonded-StableCoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/REChain-Network-Solutions","download_url":"https://codeload.github.com/REChain-Network-Solutions/Bonded-StableCoin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REChain-Network-Solutions%2FBonded-StableCoin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30111743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bonded","onescript","oscript","oscript-lib","oscript-library","oscript-package","oscript-web","ovm","rechain","rechainapi","rechaincontract","rechainnetwork","stablecoin"],"created_at":"2025-05-25T11:11:46.141Z","updated_at":"2026-03-05T05:30:55.955Z","avatar_url":"https://github.com/REChain-Network-Solutions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home\n\n# Welcome to the Bonded-StableCoin Wiki 🪙\n\nBonded-StableCoin is a decentralized stablecoin system leveraging bonding curves for dynamic pricing and minting. It is designed to be fully autonomous, transparent, and backed by reserve logic.\n\n## Core Concepts\n\n- Stablecoin with algorithmic backing\n- Bonding curve mechanism\n- Smart contracts written in Solidity\n- Frontend interaction via ethers.js and React\n\n👉 Explore the sections on the left to learn more.\n\n\n--------------------------------------------------------------------------------\n\n# Architecture\n\n# System Architecture\n\n## Overview\n\nThe Bonded-StableCoin system consists of:\n\n- **Smart Contract** (`BondedStableCoin.sol`) — Handles minting, burning, and bonding logic\n- **Frontend** — Connects users via wallet (e.g., MetaMask)\n- **Hardhat Backend** — Development \u0026 deployment environment\n\n## Components\n\n- ERC-20 token standard\n- ETH reserve tracking\n- Mint/Burn entry points\n- UI hooks (optional integration with DApps)\n\n\n--------------------------------------------------------------------------------\n\n# Bonding Curves\n\n# Bonding Curve Mechanism\n\nBonding curves determine token price based on supply.\n\n## Pricing Formula\n\nCurrently:\n```\nPrice = 1 ETH per token (flat, can evolve)\n```\n\nFuture iterations may use:\n```\nPrice = k * (Supply ^ exponent)\n```\n\n## Benefits\n\n- Algorithmic control of supply\n- Dynamic pricing\n- Built-in incentive mechanics\n\n\n--------------------------------------------------------------------------------\n\n# Smart Contracts\n\n# Smart Contracts\n\n## `BondedStableCoin.sol`\n\nImplements:\n\n- ERC-20 standard\n- Mint function (receives ETH)\n- Burn function (returns ETH)\n- Basic bonding curve logic\n\n## Key Functions\n\n```solidity\nfunction mint() public payable\nfunction burn(uint256 amount) public\n```\n\n## Security Considerations\n\n- Reentrancy protection\n- Overflow/underflow checks (via Solidity 0.8.x)\n\n\n--------------------------------------------------------------------------------\n\n# Deployment\n\n# Deployment Guide\n\n## Requirements\n\n- Node.js\n- Hardhat\n- MetaMask / testnet ETH\n\n## Steps\n\n```bash\nnpm install\nnpx hardhat compile\nnpx hardhat run scripts/deploy.js --network \u003cyour-network\u003e\n```\n\nUse a `.env` file for private keys and API keys.\n\n\n--------------------------------------------------------------------------------\n\n# FAQ\n\n# Frequently Asked Questions\n\n### Q: Is this stablecoin collateral-backed?\nA: Yes. ETH reserves back the token supply directly.\n\n### Q: How is price stability ensured?\nA: Via bonding curve logic that determines mint/burn pricing algorithmically.\n\n### Q: Can I contribute?\nA: Absolutely! Open issues, submit PRs, or suggest improvements.\n\n\n--------------------------------------------------------------------------------\n\n# Glossary\n\n# Glossary\n\n**Stablecoin** — A token designed to maintain a stable value.\n\n**Bonding Curve** — A mathematical function defining the price of a token based on its supply.\n\n**Minting** — Creating new tokens in exchange for ETH.\n\n**Burning** — Destroying tokens to redeem ETH.\n\n**Reserve** — The ETH pool backing the stablecoin.\n\n**ERC-20** — A widely-used Ethereum token standard.\n\n\n--------------------------------------------------------------------------------\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frechain-network-solutions%2Fbonded-stablecoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frechain-network-solutions%2Fbonded-stablecoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frechain-network-solutions%2Fbonded-stablecoin/lists"}