This tool allows users to enter their Stellar address and download a .csv
file of all their transactions on the blockchain for tax compliance purposes.
To test the functionality, visit https://compliance-hackathon.paltalabs.io/ and paste your Stellar wallet address.
To run the project on your local machine, follow these steps:
- Docker installed: make sure you have docker and docker-compose installed on your local machine.
- Docker Setup: Ensure you've created the
compliance_kwickbit_paltalabs_network
network. If you need to create itdocker network create compliance_kwickbit_paltalabs_network
. - Dependencies: Run
npm install
. - Indexer: you should have your indexer up and running and set the environment variable
NEXT_APP_GRAPHQL_ENDPOINT
to its endpoint. If you are unsure about this, for dev mode you can check next session. - Docker-Compose: Launch the project using
docker-compose up --build
.
PS: changes are interac
If you're uncertain about which Stellar indexer to use in development mode:
- Download this subquery_sandbox in another directory.
- Launch it using
docker-compose up --build
at the root of the subquery_sandbox project.
For deploying in a production environment:
- Hosting: You can choose your preferred hosting platform (AWS, Google Cloud, Azure, etc.).
- Docker Image: Deploy the image built using the Dockerfile located at
docker/Dockerfile
. - Node Indexer Access: Ensure that your deployed image can access the Stellar node indexer of your choice.
- Environment Variable: Set the
NEXT_APP_GRAPHQL_ENDPOINT
variable to the endpoint of your Stellar indexer.
PS: if you need to deploy a stellar indexer in production please refer to the instructions README of the subquery_sandbox repo.