diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 28670e4..d27c21e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -22,7 +22,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} working-directory: ./ run: | - docker-compose up -d + docker compose up -d sleep 10 docker ps | grep chainlog-ui docker ps | grep chainlog-logger || (docker logs chainlog-logger && exit 1) diff --git a/README.md b/README.md index 0c8c71f..c09991d 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ UI and API for MakerDAO’s chainlog contract ## Production environment -* [chainlog.makerdao.com](https://chainlog.makerdao.com) -* [chainlog.makerdao.com/api.html](https://chainlog.makerdao.com/api.html) -* chainlog.makerdao.com/checksum/\
+* [chainlog.sky.money](https://chainlog.sky.money) +* [chainlog.sky.money/api.html](https://chainlog.sky.money/api.html) +* chainlog.sky.money/checksum/\ ## Staging environment diff --git a/api.html b/api.html index 74f578a..d22fa6f 100644 --- a/api.html +++ b/api.html @@ -10,15 +10,15 @@GET https://chainlog.makerdao.com/api/index.json+
GET https://chainlog.sky.money/api/index.json
GET https://chainlog.makerdao.com/api/{chain}/active.json+
GET https://chainlog.sky.money/api/{chain}/active.json
GET https://chainlog.makerdao.com/api/{chain}/{version}.json+
GET https://chainlog.sky.money/api/{chain}/{version}.json
- const url = "https://chainlog.makerdao.com/api/mainnet/active.json"; + const url = "https://chainlog.sky.money/api/mainnet/active.json"; const response = await fetch(url); const chainlog = await response.json(); console.log(chainlog); @@ -71,8 +71,8 @@Code examples
The above code has the advantage that it will allow you to retreive historical data as long as you are using an archival node. In order to do that, replace"latest"
with a specific block number.Available resources in this API
-https://chainlog.makerdao.com/api -├── index.json +https://chainlog.sky.money/api +├── index.json