https://github.com/hashgraph/hedera-stable-coin-solidity-ethereum
Hedera Stable Coin implementation as a Solidity smart contract for Ethereum
https://github.com/hashgraph/hedera-stable-coin-solidity-ethereum
hacktoberfest
Last synced: 9 days ago
JSON representation
Hedera Stable Coin implementation as a Solidity smart contract for Ethereum
- Host: GitHub
- URL: https://github.com/hashgraph/hedera-stable-coin-solidity-ethereum
- Owner: hashgraph
- License: mit
- Created: 2020-08-18T19:01:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2026-04-28T10:38:04.000Z (about 1 month ago)
- Last Synced: 2026-04-28T12:29:14.921Z (about 1 month ago)
- Topics: hacktoberfest
- Language: Solidity
- Size: 1.62 MB
- Stars: 25
- Watchers: 9
- Forks: 18
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
### StableCoin Smart Contract
ERC20 Externally Minted Token with Access Control
Developed using OpenZeppelin CLI and the Truffle Suite
##### Setup
You'll need Yarn, the Open Zeppelin CLI and the Truffle Suite to set up the development environment. I also recommend using NVM for managing the Node Version you are currently using.
- [NVM](https://github.com/nvm-sh/nvm)
- [Yarn](https://classic.yarnpkg.com/en/docs/)
- [OpenZeppelin CLI](https://docs.openzeppelin.com/cli/2.8/)
- [Truffle Suite](https://www.trufflesuite.com/)
- [Using OZ CLI w/ Truffle](https://docs.openzeppelin.com/cli/2.8/truffle)
##### Commands
- `yarn` installs dependencies
- `yarn oz compile` uses the openzeppelin cli (**and oz sdk**) to compile the solidity contracts.
- `yarn truffle compile` uses truffle to compile the solidity contracts
- `yarn test` runs mocha/chai/oz tests inside of a managed test environment
- `yarn network:truffle` sets up the local development network via truffle
- `yarn network:ganache` sets up the local development network via ganache cli
- `yarn deploy` runs the openzeppelin deployment in interactive mode
- `yarn deploy:truffle` deploys the compiled smart contract to the local truffle development network
- `yarn deploy:ganache` deploys the compiled smart contract to the local ganache development network
Network information is defined in truffle-config.js, which is read by openzeppelin CLI automatically.
SOLC 0.6.8 used as compiler for both the oz sdk and truffle
##### Contract
- ERC20, Ownable, Claimable, Pausable
- RBAC for Supply, Asset Protection, KYC, Frozen