## An international settlement platform _"Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter." - Eric S. Raymond_ One of the key elements of blockchains' value proposition is providing the technology stack for the “internet of value”. For this, a combination with existing financial instruments is necessary. Several startups and experiments have been developed with this objective. In that context, we will build a financial instruments platform. First, we will represent a stablecoin, shares and bonds on a private blockchain network. Then a marketplace website will allow users to list, buy and sell assets. In this project, you are free to use the blockchain, technologies, and tools that you want. However, the project must offer complete documentation. ### Private network The network must have a minimum of 3 validating nodes. A script must facilitate the deployment of the network. You can reuse prior work. ### Financial instruments Three categories of financial instruments can be exchanged on the platform. Functionally, each asset is a type of smart contract - **Stablecoins**: It must be a standard fungible token (ERC20 or equivalent). It initially has 1000 units. The creator of the stablecoin can issue or remove units. - **Shares**: Shares are a fungible token for each company. Occasionally, its issuer can do a dividend payout. In that case, the issuer sends the stablecoin to the share contract, and each owner can retrieve proportionally to its possessions. - **Bonds**: A smart contract represents all the outstanding bonds from an issuer. Each bond has a unique serial number, a current principal, an interest rate, an issuance date, a maturity date, a current owner, and if it has been repaid. For simplicity, we assume each bond to be issued for one year, requiring only one payment. ### Populating In order to facilitate tests and audits, we will populate those financial instruments. An interactive script is available to create several addresses and deploy smart contracts. - A stablecoin called “triangle” with the ticker “TRG” and 4000 units available. - Shares from “Clove Company” represented as “CLV” and “Rooibos Limited” “ROO”, with 100 shares each. - Government bonds, “GOV”, for a principal of 200 each and an interest rate of 10%, 20 units. Each instrument is issued by a distinct address that owns all units initially. Additionally, the script asks for two Ethereum addresses, Aya and Beatriz. - Aya should receive 200 TRG, 10 CLV and 2 GOV. - Beatriz should receive 150 TRV, 20 ROO and 5 GOV. ### Marketplace The marketplace consists of - A web interface that allows users to visualise information and give orders. - A server with an API and a database that stores listed assets and orders. - A multi-signature vault smart contract that contains customer assets. Our model is hybrid, as order execution is centralised, but assets are not in full custody of the platform. ### Web interface The interface must consist of a homepage, an asset page, a portfolio page, and an FAQ page. ### Homepage An introduction page to the platform that allows the user to connect a wallet ### Asset pages A page per asset (only share and bonds) that provides on the left a curve with the price of prior trades and on the right control buttons _ The price by default is 10 TRG for a CLV and a ROO share and 200 TRG for GOV bonds. The curve is a straight line until trades are made. _ Command buttons allow users to _ Create a sell order for this asset or a buy order for this asset with an input field allowing them to select the number of units and establish a price. _ To buy or sell a certain asset at the current market price. ### Portfolio page A portfolio page that shows to the user his possessions. A table shows in one column the number of units available in total for each asset and another column with the amount currently stored on the platform with a button to withdraw it. Each asset name should redirect to the dedicated page.
On platform |
Total available |
|
TRG | 0 |
300 |
CLV | ⬇️19 |
19 |
ROO | 0 |
0 |
GOV | 0 |
5 |