{"id":26183853,"url":"https://github.com/glamsystems/glam","last_synced_at":"2025-04-14T23:40:35.676Z","repository":{"id":230783762,"uuid":"752391556","full_name":"glamsystems/glam","owner":"glamsystems","description":"GLAM is an onchain asset management and tokenization platform\u2028to launch and manage investment products on Solana.","archived":false,"fork":false,"pushed_at":"2024-10-29T11:34:09.000Z","size":6017,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-29T13:25:05.368Z","etag":null,"topics":["solana"],"latest_commit_sha":null,"homepage":"https://glam.systems","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/glamsystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-03T19:44:42.000Z","updated_at":"2024-10-29T04:32:47.000Z","dependencies_parsed_at":"2024-03-31T23:22:15.509Z","dependency_job_id":"8271605b-af18-4fdc-99a0-0b0e80172cce","html_url":"https://github.com/glamsystems/glam","commit_stats":null,"previous_names":["glamsystems/glam"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glamsystems%2Fglam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glamsystems%2Fglam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glamsystems%2Fglam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glamsystems%2Fglam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glamsystems","download_url":"https://codeload.github.com/glamsystems/glam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243125593,"owners_count":20240276,"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":["solana"],"created_at":"2025-03-11T22:49:37.523Z","updated_at":"2025-03-11T22:49:38.155Z","avatar_url":"https://github.com/glamsystems.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GLAM Tests](https://github.com/glamsystems/glam/actions/workflows/post_commit_anchor_test.yml/badge.svg)\n\n \u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/glamsystems/brand_assets/main/github/github_banner_light_small_left.svg\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/glamsystems/brand_assets/main/github/github_banner_dark_small_left.svg\"\u003e\n  \u003cimg alt=\"GLAM *.+ The New Standard for Asset Management.\" src=\"https://raw.githubusercontent.com/glamsystems/brand_assets/main/github/github_banner_dark_small_left.svg\"\u003e\n\u003c/picture\u003e\n\n## Onchain Asset Management on Solana\n\nGLAM is a platform for deploying institutional-grade investment products on Solana. Through programmable vaults and mints, GLAM provides infrastructure for onchain operations with fine-grained acccess controls.\n\n### Quick Links\n\n- [Developer Documentation](https://docs.glam.systems)\n- [TypeScript SDK](https://www.npmjs.com/package/@glamsystems/glam-sdk)\n- [CLI Reference](https://github.com/glamsystems/glam/tree/main/cli#readme)\n- [Graphical User Interface](https://gui.glam.systems)\n\n## Development Setup\n\n### Prerequisites\n\n- Node v20.11.0 or higher\n- Pnpm v9.1.2 or higher\n- Rust v1.75.0 or higher\n- Anchor CLI 0.30.1\n- Solana CLI 1.18.23\n\nInstall Solana CLI (recommended):\n```shell\nsh -c \"$(curl -sSfL https://release.anza.xyz/v1.18.23/install)\"\n```\n\n### Installation\n\n```shell\ngit clone https://github.com/glamsystems/glam.git\ncd glam\npnpm install\n```\n\n### Testing\n\nBuild and run the test suite:\n\n```shell\npnpm run anchor-build\npnpm run anchor-test\n```\n\n### Local Development\n\nStart the development server:\n\n```shell\npnpm run dev\n```\n\n## SDK Usage Example\n\n```typescript\nimport * as anchor from \"@coral-xyz/anchor\";\nimport { GlamClient, WSOL } from \"@glamsystems/glam-sdk\";\nimport { PublicKey } from \"@solana/web3.js\";\n\nconst glamClient = new GlamClient();\nconst statePda = new PublicKey(\"FMHLPaEeCbuivqsAfHrr28FpWJ9oKHTx3jzFbb3tYhq4\");\n\nasync function main() {\n  const vaultPda = glamClient.getVaultPda(statePda);\n  const vaultWsolBalance = await glamClient.getVaultTokenBalance(statePda, WSOL);\n  \n  // Wrap 0.1 SOL\n  const txSig = await glamClient.wsol.wrap(statePda, new anchor.BN(100_000_000));\n  \n  // Check updated balance\n  const vaultWsolBalanceAfter = await glamClient.getVaultTokenBalance(statePda, WSOL);\n}\n```\n\nFor detailed API documentation and advanced usage examples, visit our [Developer Documentation](https://docs.glam.systems).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglamsystems%2Fglam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglamsystems%2Fglam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglamsystems%2Fglam/lists"}