Skip to content

Commit

Permalink
Add APIs for FE (#10)
Browse files Browse the repository at this point in the history
* Add GetPendingTransactions

* Add GetCoinPrice

* Add Redis initialization

* Add GetMainCoins interface

* Fix main coins cache init

* Add kafka consumer

* change field naming

* update kafka topic name

* add prefix for endpoints

* add redis docker-compose

* migration sql for common.main_coins

* Add kafka docker compose

* update

* update kafka config

* update docker compose

* change cache interval

* add logs

* add redis healthcheck

* update logs

* add additional endpoints

* update kafka config

* add kafka authentication

* update coin-price interface

* Add debug log

* Fix edge case for redis

* Fix json unmarshal

* Update schema

* Update query

* Update query

* update

* Add free gas feature

* Reduce logs

* Add GetAllTransactions

* separate kafka consumer

* Add kafka consumer docker-compose

* add chain id

* bridge block time

* claim block time

* claim block time 2

* claim block time 3

* block time * 1000

* add headers

* CommonGetAllTransactionsResponse

* CommonGetAllTransactionsResponse 2

* CommonGetAllTransactionsResponse 3

* CommonGetAllTransactionsResponse 4

* other common response

* add hasNext

* add hasNext 2

* add hasNext 3

* code review fix

* mock price

* mock price 1

* mock price 2

* mock price 3

* mock price 3

* chain id change

* chain id change 2

* address lower

* Change coin price to POST

* Change coin-price request schema

* add id

* add id 2

* add id 3

* Add DB suffix

* add id 3

* add smt-proof & index & metadata

* add smt-proof & index & metadata 2

* cors

* Add Sentinel

* Add log

* Add log

* Add log

* Add log

* Init flow rules

* change name

* EstimateTime

* Update for code reviews

* Update

* Update go mod

---------

Co-authored-by: trunghai.bui <[email protected]>
Co-authored-by: yuexiao.fan <[email protected]>
  • Loading branch information
3 people authored Oct 12, 2023
1 parent de7d107 commit 05b548f
Show file tree
Hide file tree
Showing 38 changed files with 5,908 additions and 647 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# vendor/
/dist/
.vscode
.idea

config/config.mainnet.toml
config/config.testnet.toml
Loading

0 comments on commit 05b548f

Please sign in to comment.