Awesome
Ethereum wallet using an ERC-20 smart contract.
A digital wallet app developed in dart and flutter. The idea is to help developers to understand how to build dApps using blockchain and associated technologies. This app can transfer tokens from one wallet to another through an ERC-20 Ethereum contract.
What's being used
- Built in Flutter framework
- QR code scanner to scan addresses
- Web3Dart to interact with Ethereum blockchain
- Flutter hooks to manage widget life-cycle.
- Solidity smart contract
Wallet | Change network | Transfer tokens |
---|---|---|
Getting started
How to watch/build autogenerated files
$ flutter packages pub run build_runner build # to build
$ flutter packages pub run build_runner watch # to watch
How to run the app
$ flutter pub get packages
$ flutter packages pub run build_runner build
$ flutter run
running on the browser
$ flutter run -d web-server
How to run tests
$ flutter test
Wallet balance
For those who don't want to play with smart contracts yet, you can claim some test tokens by following links below, or check this repo to understand how to deploy your own contract.
Transfer test TOKENS to your wallet:
After setting up your wallet, you will need some tokens to play with. Use the link below to transfer some tokens to your wallet.
Transfer test Ether to your wallet
To process transactions on the network, you will also need coins to pay the transaction fees (gas). Use one of the following links to claim some coins depending on the network you are working on:
- Goerli: https://goerlifaucet.com/
- Polygon (old MATIC): https://faucet.polygon.technology/
- BSC: https://testnet.binance.org/faucet-smart
The smart contract
Link for the smart contract used for this project https://github.com/allanclempe/ether-wallet-contract
Buy me a coffee
If you enjoy my work, a small donation would be greatly appreciated.
BTC | ETH |
---|---|
<img src="https://faucet.clempe.dev/images/btc-address.png" width="150" /> | <img src="https://faucet.clempe.dev/images/eth-address.png" width="150" /> |
bc1qkvjec6dhr94jvlvqqjpuv7n3vz8j0h89nle6n3 | 0xE4B2ca20D15109b0a2Eef933678C496A1a798173 |
License
Copyright © 2019-present Allan Clempe. This source code is licensed under the MIT license found in the LICENSE.txt file.
dart wallet cryto flutter eth smart contracts - by Allan Clempe