- Initialise git repository
- Configure
.gitignore
file to prevent sensitive information going to public - Generate npm project
- Configure webpack to handle app architecture
- Put web-wallet source code
- Update ddev and configure
- Add npm dependency for web3 library
- Connect "Infura" service to deal with blockchain networks
- TODO:
- Create api endpoint on my server alefinvest.xyz to retrieve sensetive information
- It should be secure endpoint with auth endpoint.
- TODO:
- Push current version to private repo
- Update source code
- update BlockchainService -> getAddress()
- update BlockchainService -> getBalance()
- renderAddress() for real
- make renderBalance async
- Add webpack.config.js to support variable declaration in .env file
npm install --save-dev webpack webpack-cli babel-loader @babel/core @babel/preset-env dotenv-webpack path
- Inherit EthLib from AbstractCurrencyLib
npm i node-polyfill-webpack-plugin
and adjust webpack.config.js accordingly to: https://stackoverflow.com/a/65556946- Adjust
package.json
scripts: add"build": "webpack --config webpack.config.js --mode development --progress"
- Add ETH token support
- Add ERC20 token support
- Add btc support
- Get token for API https://accounts.blockcypher.com/tokens
- Get btc BIP84 in Bitcoin testnet address on https://iancoleman.io/bip39/#english
- Add variables to .env file:
- BTC_ADDRESS
- BTC_PUBLIC_KEY
- BTC_PRIVATE_KEY
- BLOCKCYPHER_PROVIDER_URL='https://api.blockcypher.com/v1/'
- BLOCKCYPHER_PROVIDER_TOKEN
- add npm dep 'wallet-address-validator', 'bitcoinjs-lib'
- Add btc library ...
- Add functionality to perform transactions to send btc
- Generate new BTC keys for testnet with WIF
curl -X POST http://api.blockcypher.com/v1/btc/test3/addrs?bech32=1
- Update .env
- Generate new BTC keys for testnet with WIF
- Install npm package
npm install [email protected]