Skip to content

Commit

Permalink
Feat/apibara integration (#738)
Browse files Browse the repository at this point in the history
* feat: integrate dna in docker compose

* feat: add indexer system

* fix: fix docker compose attempt (it doesnt work)

* fixing dna url

* revert mongo string

* update default

* remove unused port

* fix docker compose

* fix compose

* fix: fix comments in env

* feat: kakarot testnet (#725)

* fix: fix comments in env

* add mongo db crate

* add db client and db types

* implement first routes with db

* clean serde types

* renaming

* add EthereumProvider trait + mocking

* mock ethereum provider

* renaming

* add auto_impl

* refactor with EthereumAccessLayer

* keep migrating the routes

* fix testing

* answer comments

* add receipt

* add balance + storage_at

* renaming

* add nonce, get code and get logs

* add MONGO_DATABASE_NAME to .env

* answer comments

* set chain id for katana

* comments

* renaming

---------

Co-authored-by: Elias Tazartes <elias.tazartes@gmail.com>

---------

Co-authored-by: greged93 <82421016+greged93@users.noreply.github.com>
  • Loading branch information
Eikix and greged93 authored Jan 29, 2024
1 parent ed87235 commit bcadfc9
Show file tree
Hide file tree
Showing 32 changed files with 1,500 additions and 300 deletions.
8 changes: 7 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# Rust Environment
RUST_LOG=debug

# Mongo
MONGO_CONNECTION_STRING=mongodb+srv://
MONGO_DATABASE_NAME=Kakarot-Testnet-0

# Starknet Environment
STARKNET_NETWORK=
## Katana specific configurations
Expand All @@ -15,7 +19,9 @@ MADARA_PRIVATE_KEY=0x00c1cf1490de1352865301bb8705143f3ef938f97fdf892f1090dcb5ac7
# Kakarot Environment
KAKAROT_RPC_URL=127.0.0.1:3030
RPC_MAX_CONNECTIONS=100
## check `./deployments/katana/deployments.json` after running `make devnet`

# Kakarot Core EVM contract addresses and class hashes,
# respectively deployed and declared on the underlying StarknetOS chain
KAKAROT_ADDRESS=
PROXY_ACCOUNT_CLASS_HASH=
EXTERNALLY_OWNED_ACCOUNT_CLASS_HASH=
Expand Down
7 changes: 4 additions & 3 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,24 @@ runtimes:
- python@3.10.8
lint:
disabled:
- yamllint
- checkov
enabled:
- actionlint@1.6.26
- clippy@1.65.0
- git-diff-check
- hadolint@2.12.0
- markdownlint@0.38.0
- osv-scanner@1.5.0
- osv-scanner@1.6.1
- oxipng@9.0.0
- prettier@3.2.2
- prettier@3.2.4
- rustfmt@1.65.0
- shellcheck@0.9.0
- shfmt@3.6.0
- taplo@0.8.1
- terrascan@1.18.11
- trivy@0.48.3
- trufflehog@3.63.9
- trufflehog@3.64.0
- yamllint@1.33.0
ignore:
- linters: [ALL]
Expand Down
Loading

0 comments on commit bcadfc9

Please sign in to comment.