Commit Graph

16 Commits

Author SHA1 Message Date
dependabot[bot] da7b0f2473
build(deps): bump github.com/rs/zerolog from 1.26.1 to 1.27.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.26.1...v1.27.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 09:26:42 +00:00
dependabot[bot] e83a103a35
build(deps): bump github.com/ethereum/go-ethereum
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.10.18 to 1.10.19.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.10.18...v1.10.19)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 05:40:14 +00:00
Mohamed Sohail e19ba9d50c
deps: upgraded github.com/georgysavva/scany
v0.3.0 => v1.0.0
2022-06-02 11:31:31 +03:00
dependabot[bot] d58923f63c
build(deps): bump github.com/golang-module/carbon/v2 from 2.1.6 to 2.1.8
Bumps [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon) from 2.1.6 to 2.1.8.
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.1.6...v2.1.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 08:26:57 +00:00
Mohamed Sohail 657645f92c
Merge pull request #20 from grassrootseconomics/dependabot/go_modules/github.com/lmittmann/w3-0.8.0
build(deps): bump github.com/lmittmann/w3 from 0.7.0 to 0.8.0
2022-06-02 11:25:41 +03:00
Mohamed Sohail 77f127e14a
feat: add admin/auth api (#22)
* feat: add admin/auth api

- jwt cookie based auth
- /auth
- admin/*

* add: meta proxy

* fix: remove ussd account status from syncer

* add: cookie defaults and nuxt init check route

* add: pin and address handlers
2022-06-02 11:24:58 +03:00
dependabot[bot] 8ed87e7244
build(deps): bump github.com/lmittmann/w3 from 0.7.0 to 0.8.0
Bumps [github.com/lmittmann/w3](https://github.com/lmittmann/w3) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/lmittmann/w3/releases)
- [Commits](https://github.com/lmittmann/w3/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/lmittmann/w3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-26 05:40:51 +00:00
Mohamed Sohail 7bda44c169
add: (feat) individual token stats
- volume chart
- token holders
- token tx count

* minor refactors
2022-05-23 15:41:24 +03:00
Mohamed Sohail f0690d62be
add: (feat) balances query api
- add address utils
- return uint64 for balances instead of float
2022-05-19 09:52:34 +03:00
Mohamed Sohail d4506e6303
update: (dashboard-api) cors and sql limits
- add cors for core websites and dev env
- update sql query limit to 2 years
- enabled future cors for auth
2022-05-12 12:32:33 +03:00
Mohamed Sohail 128b15407a
server: init api server
- echo (https://echo.labstack.com/) as web framework
- carbon for auto date-range parsing
- add dashboard sql queries
2022-05-11 16:57:56 +03:00
Mohamed Sohail 6b71657e5b
sohail/update deps structure (#5)
* refactor: syncer structure

- move syncer jobs to internal dir

* refactor: queries struct and pkg updates

- update cic-go to latest
- separate sql queries by logic

* ci: add dependabot
2022-05-11 12:32:11 +03:00
Mohamed Sohail 9882a9ddc6
refactor: move pkg's out
- to cic_go
2022-05-06 16:53:57 +03:00
Mohamed Sohail 05ab865c63
add: token syncer
core:
- add koanf for runtime config loading
- cicnet connection must dial else panic
- add db connection init
- add goyesql for convenient querying
- add async tasker processor (scheduler, processor)

dev:
- add redis server to dev docker-compose
- update volume to prune-able local
2022-05-03 18:54:51 +03:00
Mohamed Sohail e6651fc911
add: cicnet package
- query cicnet contracts
2022-04-29 11:09:25 +03:00
Mohamed Sohail b7452778d5
project: init
- create dw db structure
- write remote syncer queries
2022-04-25 18:29:38 +03:00