- π About the Project
- π» Getting Started
- π₯ Author
- π Future Features
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- π License
We are looking to get a decent transfer of Ethers (cryptocurrency) to one of our company wallets. Unfortunately we're not sure which one so we would appreciate a bit of help. Your task is to create an application that helps users monitor their Ethereum wallets.
- As a User I'd like to add my existing Wallet address to list of monitored Wallet addresses
- As a User I'd like to see list of my monitored Wallets addresses with most recently added at the top
- As a User I'd like to see details of my Wallets including list of transactions, as well as total balances
- As a Guest I'd like to see how many non-empty wallets are registered on the site (see welcome screen for non-logged-in user)
- As a User I'd like to be able to toggle between ETH and PLN currency on list of transactions
- Your job is to bring live data to already existing static views, by using Ethereum API (https://etherscan.io/apis) to get the blockchain data
- For currency conversion between ETH and PLN you can choose any provider you want.
- For example data (e.g. addresses) you can look at Etherscan explorer:
- https://etherscan.io/address/0xec690940081e780ae3310c88eb3f4c75622988ec
- https://etherscan.io/address/0xdf828870459aec77d13d5fe78328c80e776ba071
- https://etherscan.io/txs - you can find more addresses and transactions here
- Try to not spend more than 4 hours for this task. If you donβt manage to implement everything, no worries - you can also document your choices in SOLUTION.md file
- Use common sense if something wasn't specified
- Try to deliver a working solution
- Try to add some tests
- Keep your code on GitHub
- What will happen in case of one external APIs going down
- Do we need to limit external API calls
- Rest Client for Ruby
- Stimulus
- Haml
- Minitest
To get a local copy up and running, follow these steps.
In order to run this project you need:
Clone this repository to your desired folder:
using HTTPS:
git clone https://github.com/ElsonOtake/ruby_take_home_challenge.git
cd ruby_take_home_challenge
using an SSH key:
git clone git@github.com:ElsonOtake/ruby_take_home_challenge.git
cd ruby_take_home_challenge
using GitHub CLI:
git clone gh repo clone ElsonOtake/ruby_take_home_challenge
cd ruby_take_home_challenge
Install this project with:
bundle install
Add the .env
file to your root directory and enter your Ethereum API key.
API_KEY=<your Ethereum API key>
To run the project, execute the following command:
rails server
To run tests, run the following command:
rails test
π€ Elson Otake
- GitHub: elsonotake
- Twitter: @elsonotake
- LinkedIn: elsonotake
- Create transactions pagination
- Create more tests
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a βοΈ if you like this project!
I would like to thank:
This project is MIT licensed.