https://github.com/vacuumlabs/car
Crypto Address Relation
https://github.com/vacuumlabs/car
cryptocurrency database rest-api rust
Last synced: 2 months ago
JSON representation
Crypto Address Relation
- Host: GitHub
- URL: https://github.com/vacuumlabs/car
- Owner: vacuumlabs
- Created: 2022-12-02T02:57:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T21:21:26.000Z (over 3 years ago)
- Last Synced: 2025-05-19T08:49:45.056Z (about 1 year ago)
- Topics: cryptocurrency, database, rest-api, rust
- Language: Rust
- Homepage:
- Size: 8.85 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Crypto Addresses Relation
Find information about addresses and sort them by service and tags.
It starts with storing data in the PG and querying data using the GIN extension. But we do not know the direction of performance.
If we want to process all data before the query or get relevant information during the query.
Set parm database URL before.
## Service
Identify a kind of service under the blockchain. For example Dex, Web3 game, etc.
## Tag
Tak the address with information like money, sports game, etc.
Runninng
If you want to set up the database using the provided docker compose file:
```bash
export DATABASE_URL="postgres://postgres:postgres@0.0.0.0:5432/addresses"
docker-compose up -d
```
Or if running locally:
```bash
export DATABASE_URL="postgres://postgres:postgres@127.0.0.1:5432/addresses"
```
Then run:
```bash
cargo install sea-orm-cli
sea-orm-cli migrate up
cargo run
```
== Frontend
```bash
cd frontend
rustup target add wasm32-unknown-unknown
cargo install trunk
trunk serve
```