Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fm2055 committed Oct 23, 2024
0 parents commit a28114c
Show file tree
Hide file tree
Showing 22 changed files with 13,144 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_RPC_ENDPOINT=
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SNS Solana hacker house 2024 workshop demo

## Installation

1. Make sure you have Node.js version 18 or above installed.

2. Install the dependencies by running the following command:

npm install

3. Edit the .env file and set `NEXT_PUBLIC_RPC_ENDPOINT` to a private Solana RPC endpoint.

## Usage

To build the project, run the following command:

npm run build

To start the server, run the following command:

npm start

The server will start running at http://localhost:3000.

## Documentation

For detailed documentation on the SNS SDK, please visit https://sns.guide.

## Bugs and Issues

If you encounter any bugs or issues, please report them [here](https://github.com/Bonfida/solana-name-service-guide/issues).
13 changes: 13 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**",
},
],
},
};

export default nextConfig;
Loading

0 comments on commit a28114c

Please sign in to comment.