{"id":18369095,"url":"https://github.com/bitfancy/rust-solidity","last_synced_at":"2025-04-10T19:39:37.989Z","repository":{"id":237689789,"uuid":"760126395","full_name":"BitFancy/RUST-Solidity","owner":"BitFancy","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-19T21:15:23.000Z","size":300,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T20:54:18.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/BitFancy.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-19T20:41:05.000Z","updated_at":"2024-07-29T14:00:33.000Z","dependencies_parsed_at":"2024-05-03T01:21:34.219Z","dependency_job_id":null,"html_url":"https://github.com/BitFancy/RUST-Solidity","commit_stats":null,"previous_names":["bitfancy/rust-solidity"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FRUST-Solidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FRUST-Solidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FRUST-Solidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FRUST-Solidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitFancy","download_url":"https://codeload.github.com/BitFancy/RUST-Solidity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281424,"owners_count":21077423,"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":[],"created_at":"2024-11-05T23:28:26.043Z","updated_at":"2025-04-10T19:39:37.947Z","avatar_url":"https://github.com/BitFancy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏗 Solana App Scaffold\nScaffolding for a dapp built on Solana\n\n# Quickstart\n\n```bash\ngit clone https://github.com/solana-labs/dapp-scaffold.git\n\ncd dapp-scaffold\n```\n\n```bash\n\nyarn\n\n```\n\n```bash\n\nyarn start\n\n```\n\n# Environment Setup\n1. Install Rust from https://rustup.rs/\n2. Install Solana v1.6.7 or later from https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool\n3. Install Node\n4. Install NPM, Yarn\n\n# Build Smart Contract (compiled for BPF)\nRun the following from the program/ subdirectory:\n\n```bash\n$ cargo build-bpf\n$ cargo test-bpf\n```\n# Directory structure\n\n## program\n\nSolana program template in Rust\n\n### program/src/lib.rs\n* process_instruction function is used to run all calls issued to the smart contract\n\n## src/actions\n\nSetup here actions that will interact with Solana programs using sendTransaction function\n\n## src/contexts\n\nReact context objects that are used propagate state of accounts across the application\n\n## src/hooks\n\nGeneric react hooks to interact with token program:\n* useUserBalance - query for balance of any user token by mint, returns:\n    - balance\n    - balanceLamports\n    - balanceInUSD\n* useUserTotalBalance - aggregates user balance across all token accounts and returns value in USD\n    - balanceInUSD\n* useAccountByMint\n* useTokenName\n* useUserAccounts\n\n## src/views\n\n* home - main page for your app\n* faucet - airdrops SOL on Testnet and Devnet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Frust-solidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitfancy%2Frust-solidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Frust-solidity/lists"}