GTON Capital starts public testing of GTON Capital Money protocol ($GCD)
Roadmap 2022 sets the pace for the development of GTON Capital. Finally, we’re happy to share that the development of the GTON Money protocol has been completed and the team is currently running tests on Ropsten/Goerli and GTON Network testnet.
We are grateful to the students of the Computer Science Faculty of Hochschule Ruhr West for supporting us along the way and conducting the initial tests of GTON Capital products. This time the student team graciously agreed to help with GCD testing.
Although we have an agreement with Hochschule Ruhr West to conduct the testing, anyone can participate because the scope is public.
The authors of the best reports with the most detailed description of the UX, possible bugs. and suggestions for improvement will receive rewards which will be determined by the GTON Capital team after reviewing all reports.
We plan to complete testing no later than July 10, implement all the fixes and suggestions within three days and begin auditing by one of the authorised auditing companies.
First, contact @drinkius to get some test GTON to use as collateral.
Example transaction of GCD mint with Eth collateral on Ropsten:
To mint, you must first approve wETH:
To the Vault’s address: 0x097f64be4e8de6608b1d28b3732ad480d8d45823
Amount for 1 Eth: 1000000000000000000
Then call join_Eth method here:
Eth value: 1
usdpAmount (renaming will be done later): 894000000000000000000 (about 894 GCD for 1 Eth with the current price of 1.78k+ in the mock oracle aggregator, collateralization rate 50%)
Minting with GTON collateral:
To mint, approve tGTON:
To the same Vault address: 0x097f64be4e8de6608b1d28b3732ad480d8d45823
Amount (500 tGTON): 500000000000000000000
Then go to the same CDPManager:
And call the join method:
Asset amount: 500000000000000000000 (500 tGTON)
usdpAmount: 127700000000000000000 (about 127.7 GCD for 500 gton given price and collateralization ratio of 30 percent. The price can change.
Keep in mind that it is better to mint less GCD because otherwise the liquidation price is basically just a little bit lower than current oracle price, and if it fails, your position will be liquidated).
After minting GCD, you can bridge it to the GTON Network using this bridge:
First, approve the required amount of GCD in the GCD token contract (0x1ef834d6d3694a932a2082678edd543e3eb3412b) to the bridge’s contract address
0.002 - ether
1000000000000000000000 - 1000 GCD
Using the main GCD repo:
Deploy the entire token infrastructure on the GTON Network. This is an exercise to figure out the correct steps to deploy the entire GCD setup and be able to mint the token using different ERC-20 tokens as collateral. For help - there are implementations of tokens you can use and deploy:
Deployment scripts can be found here:
https://github.com/GTON-capital/gcd-protocol/tree/master/scripts (GCD as well as oracles, which are integrated into the repo as submodules, so that you can call the whole script setup from the main repo).
Then you need to work on interaction scripts in order to implement all the necessary functions for the protocol’s functioning: setting up new collaterals (bonus points for using oracles from the ones implemented by Unit protocol but not used in the deployment scripts yet. For popular tokens, not some rare ones), minting/burning GCD, liquidations (these smart contracts aren’t in the deploy scripts yet so this also needs to be added to the scripts). Also take a look at Unit’s liquidator - this is a big part of the protocol which needs automation and can also be done as part of this exercise.
You can easily run scripts from the file using such command, for example:
npm run deploy:gcd:gton
The scripts should be written in a separate file to avoid merge issues, file name - gcdInteractions_yourNick.js, please work out of your own fork of the GCD repository.
The reports should be submitted as pull requests with a detailed explanation of the fix or suggestion in the main repo: https://github.com/GTON-capital/gcd-protocol.
Throughout the campaign the GTON team will be assisting the testers in the public Discord channel: https://discord.gg/kMrkshGK2d