Crypto gains and losses tax calculator for Solana wallets.
- Sveltekit -
npm run dev
- nhost -
nhost dev
npm run dev
runs sveltekit servernhost dev
runs nhostnpm run check
syncs.env
variables
nhost-production
- to deploy nhost/hasura
- Update & switch
.env
(dev to prod) - Update network to
mainnet-beta
- Update
transaction-history/+server.ts
mocks to live - Build & push Docker images (dependencies & server)
- Update K8s files
- Deploy
nhost
branch (if required) - Deploy K8s updates
- Test
Make sure to switch to the appropriate Dockerfile
code, using dependencies.Dockerfile
and production.Dockerfile
, when running the build commands.
docker build -t {prefix}/{project}-dependencies:2.0.0 .
docker build -t {prefix}/{project}:2.0.0 .
docker push {prefix}/{project}-dependencies:2.0.0
See {infrastructure-repo}
README
for k8s
deployment instructions
- Attach
wallet-address
header when making api calls. hooks.ts
handles server auth,+layout.ts
initializes data by hitting/api/data-initialization
- 1,000 transactions ~ 2MB storage