MELD Dev Diary 54
Published in
3 min readSep 18, 2023
Welcome to our Development Diaries. Dive deep with us into the latest cool upgrades and flows of the MELDapp. Ready to catch up on this week’s epic progress?
MELDapp Web:
- Released build 1.1.17 bringing several key features listed below, along with UI improvements — quick action buttons removed from the “parent token banners”, Send flow’s % slider increment, more detailed token selection information architecture in Send flow, more spacious accordion /list view of tokens under “parent banners”, a metric for activity tracking and overview changed from % value to VOLUME,
- Completed work on bridging $MELD and numerous other supported tokens, now in PROD behind a feature flag for final testing,
- Finalized WalletConnect integration works, which now is in PROD environment behind a feature flag for the very last set of mainnet tests,
- Deployed several Cardano-based bug fixes.
Application:
- Refactor of Staking protocol contracts into smaller contracts, dividing them by functionality and storage-logic,
- Implementation of dynamic NFT metadata for $MELD Staking NFTs (to represent staking position info in a form of the NFT image),
- Completed the subgraph deployment for ERC-721 tokens. Enabled the deployment of multiple subgraphs for multiple chains and ran concurrently with ERC20 token deployment and backfill service,
- Wrote integration tests for the NFT balance API,
- Parallelized the ERC-721 tokens deployment and transactions simulation process to reduce test run time. Support for simulating multiple tokens at once to test more diverse cases,
- Fixed proper wait polling for backfill. Updated the ERC-721 backfill stream to fix memory leaks,
- Implemented balance history API. Getting historical prices from the database, then calculating the balance in USD. Wrote integration tests,
- Utilized price data from the CMC API instead of the database for wallet-tokens requests,
- Implemented NFT balance API for the Go backend and wrote tests for it,
- Created a new build and tested pipeline for Go backend using Docker. Unified various environments and services in a Docker-compose setup,
- Explored strategies for a full backend rewrite,
- Conducted Go best practices training for the team,
- Conducted a self-audit of GraphQL and SQL queries, addressing identified issues,
- Refactored the wallet-tokens API endpoint,
- Addressed tricky issues related to ChainPort bridge integration and provided workarounds,
- Used a different chain name for subgraph deployment in the bank-signup-airdrop project,
- Deployed tracking services to the DEV environment after making changes,
- Introduced several API Enhancements (standardize common functions for new API handlers, support more filters for the transaction API, enable Admin to add multiple tokens at once, query and return the status of subgraphs when get networks.),
- Assisted the frontend team with Cardano staking improvements.
Infrastructure:
- Upgraded SonarQube service to the latest stable version,
- Fixed issues with meld.fi website,
- Installed and configured new GitHub runner instance,
- Adapted GitHub workflows for new GitHub runner,
- Opened graph-node indexer port on local firewall.
Thanks a ton for always having our back. Your feedback means a lot and helps us keep improving MELDapp. Keep an eye out for some cool updates coming your way soon!