ERC-20 to Gluwacoin Adapter
Gluwacoin is an interoperable stablecoin standard. The standard has built-in functions to enable exchange with other cryptocurrencies, which connects its ecosystem to other blockchains. We have implemented the system to support the ERC20 standard on the Ethereum network. The implementation includes security features, compliance features, and upgrade features that provide the desired level of security and elasticity.
The Gluwacoin Trust proposed the standard. This repository is the official implementations of the Gluwacoin standard by Gluwa.
For more information, see Gluwacoin, gluwacoin.com, or the original whitepaper.
Gluwacoin backed by another ERC-20 token
Read ERC-20 Wrapper Gluwacoin for details.
$ npm install
Run a local development network
$ npx ganache-cli --deterministic
Run test scripts
$ npx truffle test
Refer to contracts/ExampleCoin.sol
for example.
Create a copy of the file 2_deploy_wrapper_gluwacoin.js.example
under migrations/
folder,
and name it 2_deploy_wrapper_gluwacoin.EXAMPLE.js
.
Fill-in name
, symbol
, decimals
, and baseToken
.
Run truffle migrate
with a name of the network you want to use.
$ npx truffle migrate --network [NETWORK NAME]