Skip to content

Commit

Permalink
Merge pull request #14 from kima-finance/dev-refactor
Browse files Browse the repository at this point in the history
Dev refactor
  • Loading branch information
jeancarrie-kima authored Mar 4, 2025
2 parents db6d824 + 6281ce9 commit 1f77e09
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 79 deletions.
26 changes: 16 additions & 10 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@ COMPLIANCE_URL=

# whitelisted domains. Separate multiple values with a comma
# i.e. the url of your frontend
DOMAIN=http://localhost:3000
DOMAIN=

# the mnemonic of your backend Kima wallet
KIMA_BACKEND_MNEMONIC=

# Kima fee calculation service
KIMA_BACKEND_FEE_URL=https://fee.kima.network

# Kima RPC node provider
KIMA_BACKEND_NODE_PROVIDER=https://rpc-testnet.kima.finance
KIMA_BACKEND_NODE_PROVIDER=https://rpc.kima.network

# Kima GraphQL endpoint
KIMA_BACKEND_NODE_PROVIDER_GRAPHQL=https://graphql-testnet.kima.finance/v1/graphql
KIMA_BACKEND_NODE_PROVIDER_GRAPHQL=https://graphql.kima.network/v1/graphql

# Kima API endpoint
KIMA_BACKEND_NODE_PROVIDER_QUERY=https://api-testnet.kima.finance
KIMA_BACKEND_NODE_PROVIDER_QUERY=https://api.kima.network

# Kima environment: testnet, mainnet
KIMA_ENVIRONMENT=testnet
KIMA_ENVIRONMENT=mainnet

# Kima blockchain explorer url
KIMA_EXPLORER=https://explorer.kima.network
Expand All @@ -47,22 +50,25 @@ COMPLIANCE_URL=

# whitelisted domains. Separate multiple values with a comma
# i.e. the url of your frontend
DOMAIN=
DOMAIN=http://localhost:3000

# the mnemonic of your backend Kima wallet
KIMA_BACKEND_MNEMONIC=

# Kima fee calculation service
KIMA_BACKEND_FEE_URL=https://fee.sardis.kima.network

# Kima RPC node provider
KIMA_BACKEND_NODE_PROVIDER=https://rpc.kima.network
KIMA_BACKEND_NODE_PROVIDER=https://rpc-testnet.kima.finance

# Kima GraphQL endpoint
KIMA_BACKEND_NODE_PROVIDER_GRAPHQL=https://graphql.kima.network/v1/graphql
KIMA_BACKEND_NODE_PROVIDER_GRAPHQL=https://graphql.sardis.kima.network/v1/graphql

# Kima API endpoint
KIMA_BACKEND_NODE_PROVIDER_QUERY=https://api.kima.network
KIMA_BACKEND_NODE_PROVIDER_QUERY=https://api.sardis.kima.network

# Kima environment: testnet, mainnet
KIMA_ENVIRONMENT=mainnet
KIMA_ENVIRONMENT=testnet

# Kima blockchain explorer url
KIMA_EXPLORER=https://explorer.sardis.kima.network
Expand Down
129 changes: 63 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kima-transaction-backend",
"version": "1.0.0",
"version": "1.3.2",
"description": "",
"main": "index.js",
"engines": {
Expand Down Expand Up @@ -54,6 +54,6 @@
"swagger-ui-express": "^5.0.1",
"tron-format-address": "^0.1.12",
"uuid": "^9.0.1",
"viem": "^2.21.40"
"viem": "^2.23.5"
}
}
}

0 comments on commit 1f77e09

Please sign in to comment.