https://github.com/limechain/fosdem-challenge
https://github.com/limechain/fosdem-challenge
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/limechain/fosdem-challenge
- Owner: LimeChain
- Created: 2019-01-29T10:40:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T17:22:06.000Z (over 7 years ago)
- Last Synced: 2025-01-23T08:18:09.315Z (over 1 year ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Welcome to FOSDEM Etherlime Challenge!
### What you have to do?
To start with the challenge please follow the steps:
- Please install Etherlime as a global library: `npm install -g etherlime`
- Clone this repository and make `npm install`
- Now you have a project that is already initialized using the command: `etherlime init` and you have everything you need!
- Navigate to `contracts` folder where you will find two ready for use contracts - Deposit & LimeFactory.
### Your task is:
1. Open `Deposit.sol` file and finish the contract functionality as you develop `enroll` method. Method has to enroll a customer within the deposit bank contract, giving the first 3 of them 1 ether as reward and return the balance of the user after enrolling. Your method should start from line 24. Please refer to `depositTest.js` for more information about `enroll` implementation. There you can find ready to use unit tests.
2. After you are done with the development, please be sure that all of your tests are passing. You can check that with the command `etherlime test`.
3. Once your tests are passing, you have to deploy your smart contract on one of the Ethereum testnets (Ropsten, Rinkenby, etc). You have to use different deployer, than the deployer specified in `deploy.js` file. For more information about the available deployers in Etherlime, please refer to our [documentation](https://etherlime.readthedocs.io/en/latest/). After successful deployment you have to do the following steps:
- [Join our community group](https://t.me/etherlime/) in Telegram
- Paste your contract address and tag @Ognyan
Enjoy participating in this challenge and do not hesitate to [contact us](https://t.me/etherlime/) if you have any questions regarding the challenge or Etherlime.