repo_id
stringclasses
563 values
file_path
stringlengths
40
166
content
stringlengths
1
2.94M
__index_level_0__
int64
0
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/tsconfig.json
{ "extends": "../tsconfig.base.json", "compilerOptions": { "module": "commonjs" }, "files": [], "include": [], "references": [ { "path": "./tsconfig.lib.json" }, { "path": "./tsconfig.spec.json" } ] }
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/tsconfig.lib.json
{ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../dist/out-tsc", "declaration": true, "types": ["node"], "resolveJsonModule": true, "allowSyntheticDefaultImports": true }, "include": ["src/**/*.ts"], "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] }
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/.eslintrc.json
{ "extends": ["../.eslintrc.json"], "ignorePatterns": ["!**/*"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], "rules": {} }, { "files": ["*.ts", "*.tsx"], "rules": {} }, { "files": ["*.js", "*.jsx"], "rules": {} }, { "files": [...
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/tsconfig.spec.json
{ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../dist/out-tsc", "module": "commonjs", "types": ["jest", "node"] }, "include": [ "jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts" ] }
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/jest.config.ts
/* eslint-disable */ import { readFileSync } from 'fs'; // Reading the SWC compilation config and remove the "exclude" // for the test files to be compiled by SWC const { exclude: _, ...swcJestConfig } = JSON.parse( readFileSync(`${__dirname}/.swcrc`, 'utf-8') ); // disable .swcrc look-up by SWC core because we're ...
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/migrations/deploy.ts
// Migrations are an early feature. Currently, they're nothing more than this // single deploy script that's invoked from the CLI, injecting a provider // configured from the workspace's Anchor.toml. import * as anchor from '@coral-xyz/anchor'; module.exports = async function (provider) { // Configure client to use...
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/programs
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/programs/journal/Cargo.toml
[package] name = "journal" version = "0.1.0" description = "Created with Anchor" edition = "2021" [lib] crate-type = ["cdylib", "lib"] name = "journal" [features] no-entrypoint = [] no-idl = [] no-log-ix-name = [] cpi = ["no-entrypoint"] default = [] idl-build = ["anchor-lang/idl-build"] [dependencies] anchor-lang =...
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/programs
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/programs/journal/Xargo.toml
[target.bpfel-unknown-unknown.dependencies.std] features = []
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/programs/journal
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/programs/journal/src/lib.rs
use anchor_lang::prelude::*; // This is your program's public key and it will update // automatically when you build the project. declare_id!("94L2mJxVu6ZMmHaGsCHRQ65Kk2mea6aTnwWjSdfSsmBC"); #[program] mod journal { use super::*; pub fn create_journal_entry( ctx: Context<CreateEntry>, title: ...
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/src/journal-exports.ts
// Here we export some useful types and functions for interacting with the Anchor program. import { AnchorProvider, Program } from "@coral-xyz/anchor"; import { Cluster, PublicKey } from "@solana/web3.js"; import JournalIDL from "../target/idl/journal.json"; import type { Journal } from "../target/types/journal"; // R...
0
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor
solana_public_repos/developer-bootcamp-2024/project-4-crud-app/anchor/src/index.ts
// This file was generated by preset-anchor. Programs are exported from this file. export * from './journal-exports';
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/Cargo.toml
[workspace] members = [ "programs/*" ] resolver = "2" [profile.release] overflow-checks = true lto = "fat" codegen-units = 1 [profile.release.build-override] opt-level = 3 incremental = false codegen-units = 1
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/metadata.json
{ "name": "Token Lottery Ticket #", "symbol": "TLT", "description": "Lottery Ticket", "image": "https://img.freepik.com/free-photo/old-used-brown-torn-ticket-stub-isolated_1101-3193.jpg" }
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/Anchor.toml
[toolchain] [features] resolution = true skip-lint = false [programs.devnet] token_lottery = "2RTh2Y4e2N421EbSnUYTKdGqDHJH7etxZb3VrWDMpNMY" [registry] url = "https://api.apr.dev" [provider] cluster = "localnet" wallet = "~/.config/solana/id.json" [scripts] test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 te...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/package.json
{ "scripts": { "lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w", "lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check" }, "dependencies": { "@coral-xyz/anchor": "^0.30.1", "@solana/spl-token": "^0.4.8", "@switchboard-xyz/on-demand": "^1.2.16", "anchor-bankrun": "^0.4.0", "solana-ba...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/tsconfig.json
{ "compilerOptions": { "types": ["mocha", "chai"], "typeRoots": ["./node_modules/@types"], "lib": ["es2015"], "module": "commonjs", "target": "es6", "esModuleInterop": true, "resolveJsonModule": true } }
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/migrations/deploy.ts
// Migrations are an early feature. Currently, they're nothing more than this // single deploy script that's invoked from the CLI, injecting a provider // configured from the workspace's Anchor.toml. const anchor = require("@coral-xyz/anchor"); module.exports = async function (provider) { // Configure client to use...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle2.json
{"account":{"data":["gB4Q8apJNzbu2RwBx+WKXfFdQYab7k2od3Kr3BZVt193IlcJcGCycRoLDcaXA20WJC/iNF7nk4mNt3Vp/+SSD9MD3mw9cx9vBAAAAAAAAADVuKRmAAAAAFXzrWYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkC9G7+i8g0HKjNZbB5bH38jNh/rhxxFkyHpwgg47dUf...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/setup-local.sh
solana account -u m --output json-compact --output-file oracle7.json 3DNK48NH6jvay2nHBiW3wk5yWegD9C2crk2vd9aznRz6 solana account -u m --output json-compact --output-file oracle6.json 7EyXLrFUtoRoYKhPBnRpjyo2nGTsfGgo2d7XcPb4TwPF solana account -u m --output json-compact --output-file oracle5.json 2RN1v42zWzzKhLty3Dgen1v...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle3.json
{"account":{"data":["gB4Q8apJNzb16uEUf2Nct4zUVUVFIWE7pWxLbFa0bvfl4avUt+Qm/RoLDcaXA20WJC/iNF7nk4mNt3Vp/+SSD9MD3mw9cx9vBAAAAAAAAAA9uaRmAAAAAL3zrWYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL01fic19UGENWixkuScpKt6aV/j6vzj9uQFTbbju1dx...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/randomness_queue.json
{"account":{"data":["2cI3f7hTigEd1I0O4f5wWbKGZQe4T19CWddAjIEuiL1iYKSRT3omBQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle4.json
{"account":{"data":["gB4Q8apJNzYmqVYWNRSk80uEJltwyu7x1ti4pv8rEAlZ4kN0ztK94A0xV0VIaTJ6Z1KP9dybIZ5Vbx0K687elIe3LXUEeCXABAAAAAAAAAD9HKpmAAAAAH1Xs2YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAuKMt0Q3pM9lN2jiJkWohtCuE1BsoGYtp2P1mbG2f+mW...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/start-validator.sh
solana-test-validator --account 3DNK48NH6jvay2nHBiW3wk5yWegD9C2crk2vd9aznRz6 oracle7.json --account 7EyXLrFUtoRoYKhPBnRpjyo2nGTsfGgo2d7XcPb4TwPF oracle6.json --account 2RN1v42zWzzKhLty3Dgen1vbRc4eBsE8PCHanvaSLwJc oracle5.json --account CXyurDdbo9JR5Xh9QuknMJSsuGM3aQdsa38ZVrKSjp1c oracle4.json --account GLc9EQ5ARgnBJvM5...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle5.json
{"account":{"data":["gB4Q8apJNzbNNadcFLigDR9vxXC5NtFfWjpDrRdZ4LzD4kIAw/cB5A0xV0VIaTJ6Z1KP9dybIZ5Vbx0K687elIe3LXUEeCXABAAAAAAAAADJ+qlmAAAAAEk1s2YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAm4ei7CGnhMCWrrDzC+siKvn8r4hLJEOmPxUadw+Udpa...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/sb_randomness_config.json
{"account":{"data":["2JJrXmhLtrH/AQEAAAAAAB3UjQ7h/nBZsoZlB7hPX0JZ10CMgS6IvWJgpJFPeiYFlj/q0NRVwCQ0XsHDcmhDaTu+ZCaCWGKm04upzNjlvXwAAAAAAAAAABAnAAAAAAAAvQUAAAAAAAAAAAAAAAAAAMJWvRAAAAAAvgUAAAAAAAAAAAAAAAAAANJ9vRAAAAAAvAUAAAAAAAAAAAAAAAAAALIvvRAAAAAAtfHKhPf6Xd9Z6MWFm59AZW3+GjAQaViJ0PNaJaoHtAkGc1LZBlQk7js/ZuPztVCZ4HCR0BvjImQ...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle6.json
{"account":{"data":["gB4Q8apJNzYw3YumCiOYfNKandQMGu62sHCRmj27INgqSAKi5mWPvBoLDcaXA20WJC/iNF7nk4mNt3Vp/+SSD9MD3mw9cx9vBAAAAAAAAAC9uKRmAAAAAD3zrWYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAx6j5wBljoqNlEdknPkB1KPkPQwgjc/vykmzy0uiOnVc...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/package.json
{ "scripts": { "lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w", "lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check" }, "dependencies": { "@coral-xyz/anchor": "^0.30.0", "@solana/spl-token": "^0.4.8", "@switchboard-xyz/on-demand": "^1.2.15" }, "devDependencies": { "@types/bn.js":...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle7.json
{"account":{"data":["gB4Q8apJNzab5tWaOGUwtRtgfr14Z1lXDbsUYuxemm7vrNm7EJBzng0xV0VIaTJ6Z1KP9dybIZ5Vbx0K687elIe3LXUEeCXABAAAAAAAAACyY6lmAAAAADKesmYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqzaW/aT8E8MB82KypM43HEIPKEBp3aBzDiB23COOQmF...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle0.json
{"account":{"data":["gB4Q8apJNzY3t8KUU+RLM7jpZhmHS4T6m/PeCL0QTlOYSy0GflH1Ww0xV0VIaTJ6Z1KP9dybIZ5Vbx0K687elIe3LXUEeCXABAAAAAAAAADSDKpmAAAAAFJHs2YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAu2+CkEGjBOhCu/12SM4imS/OZtqdiij7x9417/UP+5D...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/setup/oracle1.json
{"account":{"data":["gB4Q8apJNzb8RqXblSNq1W2+o9GYb7ooOYt9uETZx2y6uty0MxSvFA0xV0VIaTJ6Z1KP9dybIZ5Vbx0K687elIe3LXUEeCXABAAAAAAAAAAI+6dmAAAAAIg1sWYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoa+F52+H2CuIIQGxQz4LZSwMHtoYZgPp/VPYii7UBJz...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/tests/token-lottery.ts
import * as anchor from "@coral-xyz/anchor"; import * as sb from "@switchboard-xyz/on-demand"; import { Program } from "@coral-xyz/anchor"; import { TokenLottery } from "../target/types/token_lottery"; import { TOKEN_PROGRAM_ID } from "@coral-xyz/anchor/dist/cjs/utils/token"; import { getAssociatedTokenAddressSync } fr...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/tests/ondemand-idl.json
{"address":"SBondMDrcV3K4kxZR1HNVT7osZxAHVHgYXL5Ze1oMUv","metadata":{"name":"sb_on_demand","version":"0.1.0","spec":"0.1.0","description":"Created with Anchor"},"instructions":[{"name":"guardian_quote_verify","discriminator":[168,36,93,156,157,150,148,45],"accounts":[{"name":"guardian","writable":true},{"name":"oracle"...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/programs
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/programs/token-lottery/Cargo.toml
[package] name = "token-lottery" version = "0.1.0" description = "Created with Anchor" edition = "2021" [lib] crate-type = ["cdylib", "lib"] name = "token_lottery" [features] default = [] cpi = ["no-entrypoint"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-b...
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/programs
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/programs/token-lottery/Xargo.toml
[target.bpfel-unknown-unknown.dependencies.std] features = []
0
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/programs/token-lottery
solana_public_repos/developer-bootcamp-2024/project-9-token-lottery/programs/token-lottery/src/lib.rs
use anchor_lang::prelude::*; use anchor_lang::system_program; use anchor_spl::{ associated_token::AssociatedToken, token_interface::{mint_to, Mint, MintTo, TokenAccount, TokenInterface} }; use switchboard_on_demand::accounts::RandomnessAccountData; use anchor_spl::metadata::{ Metadata, MetadataAccount, ...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/Cargo.toml
[workspace] members = [ "programs/*" ] resolver = "2" [profile.release] overflow-checks = true lto = "fat" codegen-units = 1 [profile.release.build-override] opt-level = 3 incremental = false codegen-units = 1
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/.prettierignore
.anchor .DS_Store target node_modules dist build test-ledger
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/Anchor.toml
[toolchain] [features] resolution = true skip-lint = false [programs.localnet] bank_three = "H2vvatVxBg1LufZqsXBuc4BHgK5TKLmrGY7rSEK2dD2L" fake_bank = "FxCXeDFCSXMPaTB7PQBTKuPHiowPxGQoQaTTL4x2tKQo" [registry] url = "https://api.apr.dev" [provider] cluster = "Localnet" wallet = "~/.config/solana/id.json" [scripts] ...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/package.json
{ "license": "ISC", "scripts": { "lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w", "lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check" }, "dependencies": { "@coral-xyz/anchor": "^0.30.1" }, "devDependencies": { "chai": "^4.3.4", "mocha": "^9.0.3", "ts-mocha": "^10.0.0", "...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/tsconfig.json
{ "compilerOptions": { "types": ["mocha", "chai"], "typeRoots": ["./node_modules/@types"], "lib": ["es2015"], "module": "commonjs", "target": "es6", "esModuleInterop": true } }
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/migrations/deploy.ts
// Migrations are an early feature. Currently, they're nothing more than this // single deploy script that's invoked from the CLI, injecting a provider // configured from the workspace's Anchor.toml. const anchor = require("@coral-xyz/anchor"); module.exports = async function (provider) { // Configure client to use...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/tests/bank_three.ts
import * as anchor from "@coral-xyz/anchor"; import { Program } from "@coral-xyz/anchor"; import { BankThree } from "../target/types/bank_three"; import { FakeBank } from "../target/types/fake_bank"; import { assert } from "chai"; describe("bank_three", () => { const provider = anchor.AnchorProvider.env(); const c...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/bank_three/Cargo.toml
[package] name = "bank_three" version = "0.1.0" description = "Created with Anchor" edition = "2021" [lib] crate-type = ["cdylib", "lib"] name = "bank_three" [features] default = [] cpi = ["no-entrypoint"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] idl-build = ["anchor-lang/idl-build"] [dependencies] anchor-...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/bank_three/Xargo.toml
[target.bpfel-unknown-unknown.dependencies.std] features = []
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/bank_three
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/bank_three/src/lib.rs
use anchor_lang::prelude::*; use anchor_lang::system_program::{transfer, Transfer}; declare_id!("H2vvatVxBg1LufZqsXBuc4BHgK5TKLmrGY7rSEK2dD2L"); #[program] pub mod bank_three { use super::*; pub fn deposit(ctx: Context<Deposit>, amount: u64) -> Result<()> { let bank_account = &mut ctx.accounts.bank; ...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/fake_bank/Cargo.toml
[package] name = "fake_bank" version = "0.1.0" description = "Created with Anchor" edition = "2021" [lib] crate-type = ["cdylib", "lib"] name = "fake_bank" [features] default = [] cpi = ["no-entrypoint"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] idl-build = ["anchor-lang/idl-build"] [dependencies] anchor-la...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/fake_bank/Xargo.toml
[target.bpfel-unknown-unknown.dependencies.std] features = []
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/fake_bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_three/programs/fake_bank/src/lib.rs
use anchor_lang::prelude::*; declare_id!("FxCXeDFCSXMPaTB7PQBTKuPHiowPxGQoQaTTL4x2tKQo"); #[program] pub mod fake_bank { use super::*; pub fn initialize(ctx: Context<Initialize>, vault_address: Pubkey) -> Result<()> { *ctx.accounts.bank = Bank { authority: ctx.accounts.fake_authority.key(...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/Cargo.toml
[workspace] members = [ "programs/*" ] resolver = "2" [profile.release] overflow-checks = true lto = "fat" codegen-units = 1 [profile.release.build-override] opt-level = 3 incremental = false codegen-units = 1
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/.prettierignore
.anchor .DS_Store target node_modules dist build test-ledger
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/Anchor.toml
[toolchain] [features] resolution = true skip-lint = false [programs.localnet] bank_one = "HAAzYF1LMBi8R2avDaa4s2VZyMyGzA1RGQNFPXPjctZo" [registry] url = "https://api.apr.dev" [provider] cluster = "Localnet" wallet = "~/.config/solana/id.json" [scripts] test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/package.json
{ "license": "ISC", "scripts": { "lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w", "lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check" }, "dependencies": { "@coral-xyz/anchor": "^0.30.1" }, "devDependencies": { "chai": "^4.3.4", "mocha": "^9.0.3", "ts-mocha": "^10.0.0", "...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/tsconfig.json
{ "compilerOptions": { "types": ["mocha", "chai"], "typeRoots": ["./node_modules/@types"], "lib": ["es2015"], "module": "commonjs", "target": "es6", "esModuleInterop": true } }
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/migrations/deploy.ts
// Migrations are an early feature. Currently, they're nothing more than this // single deploy script that's invoked from the CLI, injecting a provider // configured from the workspace's Anchor.toml. const anchor = require("@coral-xyz/anchor"); module.exports = async function (provider) { // Configure client to use...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/tests/bank_one.ts
import * as anchor from "@coral-xyz/anchor"; import { Program } from "@coral-xyz/anchor"; import { BankOne } from "../target/types/bank_one"; import { assert } from "chai"; describe("bank_one", () => { const provider = anchor.AnchorProvider.env(); const connection = provider.connection; const wallet = provider.w...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/programs/bank_one/Cargo.toml
[package] name = "bank_one" version = "0.1.0" description = "Created with Anchor" edition = "2021" [lib] crate-type = ["cdylib", "lib"] name = "bank_one" [features] default = [] cpi = ["no-entrypoint"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] idl-build = ["anchor-lang/idl-build"] [dependencies] anchor-lang...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/programs/bank_one/Xargo.toml
[target.bpfel-unknown-unknown.dependencies.std] features = []
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/programs/bank_one
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_one/programs/bank_one/src/lib.rs
use anchor_lang::prelude::*; use anchor_lang::system_program::{transfer, Transfer}; declare_id!("HAAzYF1LMBi8R2avDaa4s2VZyMyGzA1RGQNFPXPjctZo"); #[program] pub mod bank_one { use super::*; pub fn deposit(ctx: Context<Deposit>, amount: u64) -> Result<()> { *ctx.accounts.bank = Bank { autho...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/Cargo.toml
[workspace] members = [ "programs/*" ] resolver = "2" [profile.release] overflow-checks = true lto = "fat" codegen-units = 1 [profile.release.build-override] opt-level = 3 incremental = false codegen-units = 1
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/.prettierignore
.anchor .DS_Store target node_modules dist build test-ledger
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/Anchor.toml
[toolchain] [features] resolution = true skip-lint = false [programs.localnet] bank_two = "B8o5MhGbbxCxM5ugMZ8WKUpxrDKSUAHktdSQRSCa1S6i" [registry] url = "https://api.apr.dev" [provider] cluster = "Localnet" wallet = "~/.config/solana/id.json" [scripts] test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/package.json
{ "license": "ISC", "scripts": { "lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w", "lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check" }, "dependencies": { "@coral-xyz/anchor": "^0.30.1" }, "devDependencies": { "chai": "^4.3.4", "mocha": "^9.0.3", "ts-mocha": "^10.0.0", "...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/tsconfig.json
{ "compilerOptions": { "types": ["mocha", "chai"], "typeRoots": ["./node_modules/@types"], "lib": ["es2015"], "module": "commonjs", "target": "es6", "esModuleInterop": true } }
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/migrations/deploy.ts
// Migrations are an early feature. Currently, they're nothing more than this // single deploy script that's invoked from the CLI, injecting a provider // configured from the workspace's Anchor.toml. const anchor = require("@coral-xyz/anchor"); module.exports = async function (provider) { // Configure client to use...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/tests/bank_two.ts
import * as anchor from "@coral-xyz/anchor"; import { Program } from "@coral-xyz/anchor"; import { BankTwo } from "../target/types/bank_two"; import { assert } from "chai"; describe("bank_two", () => { const provider = anchor.AnchorProvider.env(); const connection = provider.connection; const wallet = provider.w...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/programs/bank_two/Cargo.toml
[package] name = "bank_two" version = "0.1.0" description = "Created with Anchor" edition = "2021" [lib] crate-type = ["cdylib", "lib"] name = "bank_two" [features] default = [] cpi = ["no-entrypoint"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] idl-build = ["anchor-lang/idl-build"] [dependencies] anchor-lang...
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/programs
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/programs/bank_two/Xargo.toml
[target.bpfel-unknown-unknown.dependencies.std] features = []
0
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/programs/bank_two
solana_public_repos/developer-bootcamp-2024/project-12-attack-the-bank/bank_two/programs/bank_two/src/lib.rs
use anchor_lang::prelude::*; use anchor_lang::system_program::{transfer, Transfer}; declare_id!("B8o5MhGbbxCxM5ugMZ8WKUpxrDKSUAHktdSQRSCa1S6i"); #[program] pub mod bank_two { use super::*; pub fn deposit(ctx: Context<Deposit>, amount: u64) -> Result<()> { let bank_account = &mut ctx.accounts.bank; ...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-7-swap/Cargo.toml
[workspace] members = [ "programs/*" ] resolver = "2" [profile.release] overflow-checks = true lto = "fat" codegen-units = 1 [profile.release.build-override] opt-level = 3 incremental = false codegen-units = 1
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-7-swap/.prettierignore
.anchor .DS_Store target node_modules dist build test-ledger
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-7-swap/Anchor.toml
[toolchain] [features] resolution = true skip-lint = false [programs.localnet] swap = "DAehvmx2vZoWCJi7Qo3Y4YF5vrEWHQRJ288kqKwDy5DV" [registry] url = "https://api.apr.dev" [provider] cluster = "Localnet" wallet = "~/.config/solana/id.json" [scripts] test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-7-swap/package.json
{ "license": "ISC", "scripts": { "lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w", "lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check" }, "dependencies": { "@coral-xyz/anchor": "^0.30.1", "@solana-developers/helpers": "^2.4.0", "@solana/spl-token": "^0.4.8" }, "devDependencies": { ...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-7-swap/tsconfig.json
{ "compilerOptions": { "types": ["mocha", "chai"], "typeRoots": ["./node_modules/@types"], "lib": ["es2015"], "module": "commonjs", "target": "es6", "esModuleInterop": true } }
0
solana_public_repos/developer-bootcamp-2024/project-7-swap
solana_public_repos/developer-bootcamp-2024/project-7-swap/migrations/deploy.ts
// Migrations are an early feature. Currently, they're nothing more than this // single deploy script that's invoked from the CLI, injecting a provider // configured from the workspace's Anchor.toml. const anchor = require("@coral-xyz/anchor"); module.exports = async function (provider) { // Configure client to use...
0
solana_public_repos/developer-bootcamp-2024/project-7-swap
solana_public_repos/developer-bootcamp-2024/project-7-swap/tests/swap.ts
import { randomBytes } from "node:crypto"; import * as anchor from "@coral-xyz/anchor"; import { BN, type Program } from "@coral-xyz/anchor"; import { TOKEN_2022_PROGRAM_ID, type TOKEN_PROGRAM_ID, getAssociatedTokenAddressSync, } from "@solana/spl-token"; import { LAMPORTS_PER_SOL, PublicKey } from "@solana/web3....
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/Cargo.toml
[package] name = "swap" version = "0.1.0" description = "Created with Anchor" edition = "2021" [lib] crate-type = ["cdylib", "lib"] name = "swap" [features] default = [] cpi = ["no-entrypoint"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"] [dependenc...
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/Xargo.toml
[target.bpfel-unknown-unknown.dependencies.std] features = []
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/constants.rs
use anchor_lang::prelude::*; #[constant] pub const SEED: &str = "anchor"; pub const ANCHOR_DISCRIMINATOR: usize = 8;
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/error.rs
use anchor_lang::prelude::*; #[error_code] pub enum ErrorCode { #[msg("Custom error message")] CustomError, }
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/lib.rs
pub mod constants; pub mod error; pub mod instructions; pub mod state; use anchor_lang::prelude::*; pub use constants::*; pub use instructions::*; pub use state::*; declare_id!("DAehvmx2vZoWCJi7Qo3Y4YF5vrEWHQRJ288kqKwDy5DV"); #[program] pub mod swap { use super::*; pub fn make_offer( context: Conte...
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/instructions/mod.rs
pub mod make_offer; pub use make_offer::*; pub mod take_offer; pub use take_offer::*; pub mod shared; pub use shared::*;
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/instructions/take_offer.rs
use anchor_lang::prelude::*; use anchor_spl::{ associated_token::AssociatedToken, token_interface::{ close_account, transfer_checked, CloseAccount, Mint, TokenAccount, TokenInterface, TransferChecked, }, }; use crate::Offer; use super::transfer_tokens; #[derive(Accounts)] pub struct TakeO...
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/instructions/shared.rs
use anchor_lang::prelude::*; use anchor_spl::token_interface::{ transfer_checked, Mint, TokenAccount, TokenInterface, TransferChecked, }; pub fn transfer_tokens<'info>( from: &InterfaceAccount<'info, TokenAccount>, to: &InterfaceAccount<'info, TokenAccount>, amount: &u64, mint: &InterfaceAccount<'i...
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/instructions/make_offer.rs
use anchor_lang::prelude::*; use anchor_spl::{ associated_token::AssociatedToken, token_interface::{Mint, TokenAccount, TokenInterface}, }; use crate::{Offer, ANCHOR_DISCRIMINATOR}; use super::transfer_tokens; #[derive(Accounts)] #[instruction(id: u64)] pub struct MakeOffer<'info> { #[account(mut)] p...
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/state/offer.rs
use anchor_lang::prelude::*; #[account] #[derive(InitSpace)] pub struct Offer { pub id: u64, pub maker: Pubkey, pub token_mint_a: Pubkey, pub token_mint_b: Pubkey, pub token_b_wanted_amount: u64, pub bump: u8, }
0
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src
solana_public_repos/developer-bootcamp-2024/project-7-swap/programs/swap/src/state/mod.rs
pub mod offer; pub use offer::*;
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-3-blinks/jest.preset.js
const nxPreset = require('@nx/jest/preset').default; module.exports = { ...nxPreset };
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-3-blinks/nx.json
{ "$schema": "./node_modules/nx/schemas/nx-schema.json", "defaultBase": "master", "namedInputs": { "default": ["{projectRoot}/**/*", "sharedGlobals"], "production": [ "default", "!{projectRoot}/.eslintrc.json", "!{projectRoot}/eslint.config.js", "!{projectRoot}/**/?(*.)+(spec|test)...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-3-blinks/LICENSE
MIT License Copyright (c) 2024 jacobcreech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-3-blinks/vercel.json
{ "buildCommand": "npm run build", "outputDirectory": "dist/web/.next" }
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-3-blinks/tsconfig.base.json
{ "compileOnSave": false, "compilerOptions": { "rootDir": ".", "sourceMap": true, "declaration": false, "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "es2015", "module": "esnext", "lib": ["es2020", ...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-3-blinks/package.json
{ "name": "@voting-dapp/source", "version": "0.0.0", "license": "MIT", "scripts": { "anchor": "nx run anchor:anchor", "anchor-build": "nx run anchor:anchor build", "anchor-localnet": "nx run anchor:anchor localnet", "anchor-test": "nx run anchor:anchor test", "feature": "nx generate @solana-...
0
solana_public_repos/developer-bootcamp-2024
solana_public_repos/developer-bootcamp-2024/project-3-blinks/jest.config.ts
import { getJestProjectsAsync } from '@nx/jest'; export default async () => ({ projects: await getJestProjectsAsync(), });
0
solana_public_repos/developer-bootcamp-2024/project-3-blinks
solana_public_repos/developer-bootcamp-2024/project-3-blinks/web/tailwind.config.js
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind'); const { join } = require('path'); /** @type {import('tailwindcss').Config} */ module.exports = { content: [ join( __dirname, '{src,pages,components,app}/**/*!(*.stories|*.spec).{ts,tsx,html}' ), ...createGlobPatterns...
0
solana_public_repos/developer-bootcamp-2024/project-3-blinks
solana_public_repos/developer-bootcamp-2024/project-3-blinks/web/project.json
{ "name": "web", "$schema": "../node_modules/nx/schemas/project-schema.json", "sourceRoot": "web", "projectType": "application", "tags": [], "targets": { "build": { "executor": "@nx/next:build", "outputs": ["{options.outputPath}"], "defaultConfiguration": "production", "options":...
0
solana_public_repos/developer-bootcamp-2024/project-3-blinks
solana_public_repos/developer-bootcamp-2024/project-3-blinks/web/next.config.js
//@ts-check // eslint-disable-next-line @typescript-eslint/no-var-requires const { composePlugins, withNx } = require('@nx/next'); /** * @type {import('@nx/next/plugins/with-nx').WithNxOptions} **/ const nextConfig = { webpack: (config) => { config.externals = [ ...(config.externals || []), 'bigin...
0
solana_public_repos/developer-bootcamp-2024/project-3-blinks
solana_public_repos/developer-bootcamp-2024/project-3-blinks/web/next-env.d.ts
/// <reference types="next" /> /// <reference types="next/image-types/global" /> // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information.
0
solana_public_repos/developer-bootcamp-2024/project-3-blinks
solana_public_repos/developer-bootcamp-2024/project-3-blinks/web/tsconfig.json
{ "extends": "../tsconfig.base.json", "compilerOptions": { "jsx": "preserve", "allowJs": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "noEmit": true, "resolveJsonModule": true, "isolatedModules": tr...
0
solana_public_repos/developer-bootcamp-2024/project-3-blinks
solana_public_repos/developer-bootcamp-2024/project-3-blinks/web/index.d.ts
/* eslint-disable @typescript-eslint/no-explicit-any */ declare module '*.svg' { const content: any; export const ReactComponent: any; export default content; }
0
solana_public_repos/developer-bootcamp-2024/project-3-blinks
solana_public_repos/developer-bootcamp-2024/project-3-blinks/web/postcss.config.js
const { join } = require('path'); // Note: If you use library-specific PostCSS/Tailwind configuration then you should remove the `postcssConfig` build // option from your application's configuration (i.e. project.json). // // See: https://nx.dev/guides/using-tailwind-css-in-react#step-4:-applying-configuration-to-libr...
0