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: parse allocation csvs #194

Merged
merged 7 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions frontend/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ DISPENSER_GUARD=[128,47,82,29,168,187,15,46,104,227,206,117,172,71,34,235,23,50,
FUNDER_KEYPAIR=[145,197,43,77,224,103,196,174,132,195,48,31,177,97,237,163,15,196,217,142,181,204,104,107,98,82,213,0,155,140,218,180,30,119,201,38,51,176,207,221,193,222,235,244,163,250,125,66,68,196,45,208,212,201,232,178,100,163,24,21,106,83,66,174]

PROGRAM_ID=Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add DEPLOYER_WALLET here

CSV_DIR=/tmp
2 changes: 1 addition & 1 deletion frontend/claim_sdk/testWallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const KEY_DIR = './integration/keys/'
export const TEST_DISCORD_USERNAME =
process.env.DISCORD_USER_ID ?? 'a_discord_user' // For development add your discord username to .env

const DISCORD_HASH_SALT: Buffer = process.env.DISCORD_HASH_SALT
export const DISCORD_HASH_SALT: Buffer = process.env.DISCORD_HASH_SALT
? Buffer.from(new Uint8Array(JSON.parse(process.env.DISCORD_HASH_SALT)))
: Buffer.alloc(64)

Expand Down
23 changes: 23 additions & 0 deletions frontend/package-lock.json

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

4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"serve": "serve out",
"start": "next start",
"migrate": "node-pg-migrate up",
"populate": "ts-node ./scripts/populate.ts"
"populate": "ts-node ./scripts/populate.ts",
"populate:csv": "ts-node ./scripts/populate_from_csv.ts"
},
"dependencies": {
"@aptos-labs/wallet-adapter-react": "^1.2.2",
Expand Down Expand Up @@ -44,6 +45,7 @@
"react-hot-toast": "^2.2.0",
"serve": "13.0.2",
"siwe": "^2.1.4",
"sql": "^0.78.0",
"tweetnacl": "^1.0.3",
"wagmi": "^1.2.0"
},
Expand Down
Loading
Loading