Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: alternative timeline #9

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,27 @@ BLOCKCHAIN_NODE=https://blockchain-node.settlemint.com/
# Contracts
# To get this open the IDE of the deployed Smart Contract Set on the SettleMint platform.
# Open the `ignition/deployments/chain-46622/deployed_addresses.json` json file and copy the address.
NEXT_PUBLIC_CONTRACT_ADDRESS=0x...

# EAS Contract Address
NEXT_PUBLIC_EAS_CONTRACT_ADDRESS=0x...

# SchemaRegistry Contract Address
NEXT_PUBLIC_SCHEMA_REGISTRY_CONTRACT_ADDRESS=0x...

# Schema UID
SCHEMA_UID=0x...

# Private key
PRIVATE_KEY=0x...

# Portal
# To get this URL go to the SettleMint platform and select the `Middlewares` option on the right.
# From there, select your deployed smart contract portal middleware and choose the `Connect` tab.
# Copy the base url (without the `/graphql` or `/api` part).
PORTAL_URL=https://smart-contract-portal-middleware.settlemint.com

# EAS Indexer
# To get this URL, go to the SettleMint platform and select the 'Middlewares' option.
# From there, select your deployed EAS indexer and choose the 'Connect' tab.
# Copy the GraphQL endpoint URL.
EAS_INDEXER_URL=https://attestation-indexer.settlemint.com
33 changes: 33 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Use an official Bun runtime as a parent image
FROM docker.io/oven/bun:1

# Install Python and other necessary build tools
RUN apt-get update && apt-get install -y python3 make g++

# Set the working directory in the container
WORKDIR /app

# Copy package.json and bun.lockb (if you're using one)
COPY package.json bun.lockb* ./

# Install dependencies
RUN bun install --frozen-lockfile --production

# Copy the rest of your app's source code
COPY . .

# Create a writable directory for Next.js image cache
RUN mkdir -p /app/.next/cache/images && chmod 777 /app/.next/cache/images

# Build your Next.js app
RUN bun run build
# Expose the port your app runs on
EXPOSE 3000

# Set environment variable to use the writable cache directory
ENV NEXT_TELEMETRY_DISABLED 1
ENV NEXT_SHARP_PATH /app/node_modules/sharp

# Start the app
CMD ["bun", "start"]

530 changes: 530 additions & 0 deletions attestation-details.json

Large diffs are not rendered by default.

Binary file modified bun.lockb
Binary file not shown.
Loading
Loading