Hackernoon logoSmart Contracts Demo by@getelix

Smart Contracts Demo

With our new website design complete, itโ€™s time to code it. One of us is currently working on thatโ€Šโ€”โ€Šweโ€™ll keep the community updated as we progress. Hereโ€™s one more preview of the latest design:

Demo

This week, weโ€™re releasing our smart contracts demo! These deployed contracts demonstrate the upcoming functionalities of the new smart contracts. The demo Github repository is available here.
There are six demo scenarios already created, available here. With testrpc or another testnet running, you can open each of the scenarios in a browser with developer tools enabled and view the results as each scenario runs. The six scenarios included are:

1. Single payment with mining.
ย 2. Single late payment with mining.
ย 3. Multiple payments with mining.
ย 4. Multiple payments with interest and mining.
ย 5. Single payment with interest and mining.
ย 6. Single payment with mining and an attempt to break holding.

Take a minute to read over the documentation to understand how the contracts work on a conceptual level. You can find the documentation here. You can also use the documentation to alter any scenarios or create your own. Additionally, you can run multiple scenarios in succession. The token manager will keep track of all relevant payment information. Scenarios 5 has been included at the request of one of our community members. Scenario 6 contains an attempt to break holding, which causes the smart contracts to revertโ€Šโ€”โ€Šthe expected behavior when lenders try to break holding periods. As shown in the scenarios, the contracts support payment in multiple parts, interest, and mining. Our documentation goes into detail about each of the public functions in our smart contracts that facilitate requesting and returning payments. You can also take a look at sample output of each scenario here. You can use these contracts both as a payment ledger and a lending service. With functional smart contracts, weโ€™re moving quickly toward our goal of Alpha and Beta testing.

If youโ€™re a developer and would like to work on ELIX, weโ€™d like to hear from you in the near future. Weโ€™ll put up an announcement as we move forward, so stay tuned.

Be sure to checkout our website as well as connect to our social media on Reddit, Twitter, Discord, and Telegram. If you have any questions, let us know and weโ€™d be glad to help clear things up!

Tags

Join Hacker Noon

Create your free account to unlock your custom reading experience.