PiggyBank

Login

PiggyBank is an app for a custom Smart Contract on the Elrond blockchain. Check GitHub repo.

Logic: When you create a Piggy, you need to provide lock time data in the future. Then you can add some xEGLD amount to be locked till the lock date. For simplicity in the frontend app, all data is saved in the local storage, but you can always sync it with the Smart Contract. For now, after the payout, you would need to create another Piggy.

If you want to know more about preparing and deploying such a Smart Contract, check out the separate blog post.. And repository. Walkthrough video there, and the article talks about the testnet because I used the testnet back then. But you can quickly do the same using the devnet, which I recommend. You'll find information on how to do this also there.

This app is for learning and demonstration purposes only. It can be buggy.

You can log in using your devnet wallet. Then you would also need some xEGLD. For the devnet you can get some using the faucet from the devnet web wallet. Or there is also one here.

Check the GitHub README.md file if you want to play with it locally, with your own PiggyBank Smart Contract, etc.

Generated using CRA elrond-dapp template and Elrond tools