{"id":13785016,"url":"https://github.com/nickytonline/so-solana","last_synced_at":"2025-03-16T09:32:40.167Z","repository":{"id":38330206,"uuid":"425283197","full_name":"nickytonline/so-solana","owner":"nickytonline","description":"Solana Buildspace project","archived":false,"fork":false,"pushed_at":"2023-01-08T02:23:20.000Z","size":2941,"stargazers_count":4,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-15T01:15:36.862Z","etag":null,"topics":["buildspace","nextjs","react","solana-program"],"latest_commit_sha":null,"homepage":"https://sosolana.iamdeveloper.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickytonline.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-06T15:48:10.000Z","updated_at":"2023-04-05T05:58:56.000Z","dependencies_parsed_at":"2023-02-08T04:15:30.134Z","dependency_job_id":null,"html_url":"https://github.com/nickytonline/so-solana","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"nickytonline/web3-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fso-solana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fso-solana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fso-solana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fso-solana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickytonline","download_url":"https://codeload.github.com/nickytonline/so-solana/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221661551,"owners_count":16859544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buildspace","nextjs","react","solana-program"],"created_at":"2024-08-03T19:00:55.181Z","updated_at":"2024-10-27T10:18:20.154Z","avatar_url":"https://github.com/nickytonline.png","language":"TypeScript","readme":"# so-solana\n\nA project I built by following along with the Buildspace Solana project\ninstructions. Thanks Buildspace!\n\n\u003ccenter\u003e\n\n![Connect to your wallet screen](wallet.png)\n\n![Connected to Phantom wallet displaying YOLO portal images](gif-grid.png)\n\n\u003c/center\u003e\n\n## Prerequisites\n\nUnless you're running this project on Gitpod, the requirements to run this\nproject are to have the Node.js version installed that corresponds to the\nversion in `~/.nvmrc` in the root of this project. Using\n[nvm](https://github.com/nvm-sh/nvm) is recommended for installing Node.js.\nRefer to the\n[nvm installation instructions](https://github.com/nvm-sh/nvm#installing-and-updating)\nto get `nvm` set up.\n\nOnce `nvm` is installed, you can set up the project. If you opt to not use\n`nvm`, ensure that the Node.js version specified in `~/.nvmrc` is installed.\n\n## Setup the project\n\nRun the `bin/setup.sh` script to install everything.\n\nThere are known issues with the Windows installation using WSL (reminder that\nyou need WSL installed) and with M1 Macs, so a friendly Google is your best\nfriend. If you have figured out how to install it properly in those\nenvironments, please\n[create an issue](https://github.com/nickytonline/so-solana/issues/new?assignees=\u0026labels=\u0026template=bug_report.md\u0026title=)\nand open a PR linked to that issue.\n\nRemember that you can use [Gitpod](#getting-started-gitpod) if you are having\nissues with those environments.\n\n## Contributing\n\nIf you are interested in contributing to the project, first read our\n[contributing guidelines](./CONTRIBUTING.md). Take a look at our\n[existing issues](https://github.com/nickytonline/so-solana/issues), or if you\ncome across an issue,\n[create an issue](https://github.com/nickytonline/so-solana/issues/new/choose).\nFor feature requests,\n[start a discussion](https://github.com/nickytonline/so-solana/discussions)\nfirst.\n\n## Getting Started (Local Development)\n\n1. Install the dependencies\n\n   ```bash\n   npm install\n   # or\n   yarn\n   ```\n\n1. Start the project\n\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the\nresult.\n\n## Getting Started (Gitpod)\n\nThe project can be run in Gitpod. Navigate to\nhttps://gitpod.io/#https://github.com/nickytonline/so-solana. If you wish to\nload it in Gitpod as an external contributor, you will need to fork the project\nfirst, then open the fork in Gitpod, e.g.\nhttps://gitpod.io/#https://github.com/some_user_that_forked_the_repository/so-solana.\n\n1. Gitpod will take a minute or two to load.\n1. If this is the first time loading the project in Gitpod, it will take longer\n   as all the npm packages are installing.\n1. The project wil start automatically in developer mode and the app will load\n   in the Gitpod preview window.\n\nFor move information on Gitpod, check out the\n[Gitpod documentation](https://www.gitpod.io/docs/).\n\n## Running tests\n\nThe project uses [jest](https://jestjs.io). For more information on jest, see\nthe [official documentation](https://jestjs.io/docs/getting-started).\n\nTo run tests:\n\n```bash\nnpm test\n# or\nyarn test\n```\n\nTo run tests in watch mode:\n\n```bash\nnpm test:watch\n# or\nyarn test:watch\n```\n\n## Building out components\n\nWhen building out components in the project, shared components can go in the\n`components` folder. Components can then be imported using the `@components`\nalias, e.g. `import { ExampleHeader } from '@components/Header';`.\n\n### Storybook\n\nThe project uses [Storybook](https://storybook.js.org) for building our\ncomponents. For more on Storybook, see the\n[official documentation](https://storybook.js.org/docs/react).\n\n### Running Storybook\n\n```bash\nnpm run storybook\n# or\nyarn storybook\n```\n\n### Building Storybook Static Site\n\n```bash\nnpm run build-storybook\n# or\nyarn build-storybook\n```\n\n## Under the hood\n\n### Solana\n\nA fast blockchain for DeFi, NFTs, Web3 and more. Check out the\n[official Solana documentation](https://solana.com/developers).\n\n#### Generate a keypair\n\nRun the following commands to generate a keypair for Solana which will confirm\nthe address and output the Solana configuration\n\n```\nsolana-keygen new -s\nsolana address\nsolana config get\n```\n\n#### Airdrop yourself some SOL on the devnet\n\nIf you're working on the devnet, it's handy to airdrop yourself some SOL. You\ncan do the same thing for localhost if you need to.\n\n```\nsolana config set --url devnet\nsolana airdrop 5\nsolana balance\n```\n\nFor any questions in regards to the commands above, refer to the official Solana\ndocumentation.\n\n### Anchor for Solana\n\nA runtime for Solana\n\nto build and deploy a Solana program, run `bin/deploy-program.sh`. Under the\nhood it runs `anchor build`, `anchor deploy` and a few other things.\n\nNeed to run tests? Do the following:\n\n1. `cd myepicproject`\n1. `anchor test`\n\n### Next.js\n\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with\n[`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\nYou can start editing the page by modifying `pages/index.tsx`. The page\nauto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on\n[http://localhost:3000/api/hello](http://localhost:3000/api/hello). This\nendpoint can be edited in `pages/api/hello.ts`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are\ntreated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead\nof React pages.\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js\n  features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out\n[the Next.js GitHub repository](https://github.com/vercel/next.js/) - your\nfeedback and contributions are welcome!\n\n### Theme UI\n\nFor more on theme UI, check out their\n[official documentation](https://theme-ui.com/getting-started).\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the\n[Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme)\nfrom the creators of Next.js.\n\nCheck out our\n[Next.js deployment documentation](https://nextjs.org/docs/deployment) for more\ndetails.\n","funding_links":[],"categories":["Leaderboard"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickytonline%2Fso-solana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickytonline%2Fso-solana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickytonline%2Fso-solana/lists"}