{"id":28471246,"url":"https://github.com/requestnetwork/invoicing-template","last_synced_at":"2025-10-14T10:35:36.824Z","repository":{"id":235476736,"uuid":"790773619","full_name":"RequestNetwork/invoicing-template","owner":"RequestNetwork","description":"Request Invoicing: an invoicing app template showcasing the Request Network SDK.","archived":false,"fork":false,"pushed_at":"2025-03-25T18:02:00.000Z","size":600,"stargazers_count":2,"open_issues_count":9,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-01T20:51:30.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://invoicing.request.network","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RequestNetwork.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-04-23T13:57:58.000Z","updated_at":"2025-03-25T18:02:03.000Z","dependencies_parsed_at":"2024-05-28T12:17:02.851Z","dependency_job_id":"7c0940ea-d359-4509-bc49-dea65d2de187","html_url":"https://github.com/RequestNetwork/invoicing-template","commit_stats":null,"previous_names":["requestnetwork/invoicing-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/RequestNetwork/invoicing-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Finvoicing-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Finvoicing-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Finvoicing-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Finvoicing-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RequestNetwork","download_url":"https://codeload.github.com/RequestNetwork/invoicing-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Finvoicing-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018777,"owners_count":26086452,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-07T10:39:57.467Z","updated_at":"2025-10-14T10:35:36.820Z","avatar_url":"https://github.com/RequestNetwork.png","language":"TypeScript","readme":"\u003c!-- @format --\u003e\n\n# Request Invoicing (Invoicing Template)\n\nA simple invoicing template for creating, paying, and viewing requests in Request Network.\n\nBuilt with:\n\n- [Next.js](https://nextjs.org/)\n- [React](https://reactjs.org/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [Request Network](https://request.network/)\n- [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components)\n\n## Install\n\n```\nnpm install\n```\n\n## Run\n\n```\nnpm run start\n```\n\n## Develop\n\n```\ncp .env.example .env.local\nnpm run dev\n```\n\n## Deploy\n\nDeploy with Vercel:\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FRequestNetwork%2Finvoicing-template\u0026env=NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID\u0026envDescription=Before%20deploying%2C%20ensure%20you%20have%20created%20a%20.env%20or%20.env.local%20file%20in%20the%20root%20of%20your%20project.%20Below%20is%20a%20list%20of%20available%20environment%20variables.%20You%20can%20also%20take%20a%20look%20at%20the%20.env.example%20file%20for%20reference.\u0026envLink=https%3A%2F%2Fgithub.com%2FRequestNetwork%2Finvoicing-template%3Ftab%3Dreadme-ov-file%23environment-variables\u0026project-name=invoicing-template\u0026repository-name=invoicing-template\u0026demo-title=Request%20Invoicing\u0026demo-description=Request%20Invoicing\u0026demo-url=https%3A%2F%2Finvoicing.request.network%2F\u0026demo-image=https%3A%2F%2Finvoicing.request.network%2Fassets%2Flogo.svg)\n\nWe deploy to an [EasyPanel](https://easypanel.io/) server using Github Actions and [Heroku Buildpacks](https://devcenter.heroku.com/articles/buildpacks). You could easily deploy to Vercel, Netlify, or any other platform.\n\n- [deploy-to-staging.yml](/.github/workflows/deploy-to-staging.yml) - Deploy to Staging on push to `main` branch.\n- [deploy-to-production.yml](/.github/workflows/deploy-to-production.yml) - Deploy to Production on release published in Github.\n\n## Environment Variables\n\nBefore deploying, ensure you have created a `.env` or `.env.local` file in the root of your project. Below is a list of available environment variables. You can also take a look at the [.env.example](./.env.example) file for reference.\n\n\u003e **:warning: WARNING:** The default `PAYMENTS_SUBGRAPH_URL`s are rate-limited and can be replaced with your own subgraph URLs.\n\n| Variable Name                                  | Description                          | Required |\n| ---------------------------------------------- | ------------------------------------ | -------- |\n| NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID          | Your Wallet Connect Project ID       | ✅       |\n| NEXT_PUBLIC_RPC_URL_ARBITRUM_ONE               | RPC URL for Arbitrum One             | ❌       |\n| NEXT_PUBLIC_RPC_URL_AVALANCHE                  | RPC URL for Avalanche                | ❌       |\n| NEXT_PUBLIC_RPC_URL_BASE                       | RPC URL for Base                     | ❌       |\n| NEXT_PUBLIC_RPC_URL_BSC                        | RPC URL for Binance Smart Chain      | ❌       |\n| NEXT_PUBLIC_RPC_URL_CELO                       | RPC URL for Celo                     | ❌       |\n| NEXT_PUBLIC_RPC_URL_CORE                       | RPC URL for Core                     | ❌       |\n| NEXT_PUBLIC_RPC_URL_FANTOM                     | RPC URL for Fantom                   | ❌       |\n| NEXT_PUBLIC_RPC_URL_FUSE                       | RPC URL for Fuse                     | ❌       |\n| NEXT_PUBLIC_RPC_URL_ETHEREUM                   | RPC URL for Ethereum                 | ❌       |\n| NEXT_PUBLIC_RPC_URL_POLYGON                    | RPC URL for Polygon                  | ❌       |\n| NEXT_PUBLIC_RPC_URL_MOONBEAM                   | RPC URL for Moonbeam                 | ❌       |\n| NEXT_PUBLIC_RPC_URL_OPTIMISM                   | RPC URL for Optimism                 | ❌       |\n| NEXT_PUBLIC_RPC_URL_SEPOLIA                    | RPC URL for Sepolia                  | ❌       |\n| NEXT_PUBLIC_RPC_URL_XDAI                       | RPC URL for Gnosis                   | ❌       |\n| NEXT_PUBLIC_RPC_URL_ZKSYNCERA                  | RPC URL for ZkSyncEra                | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_ARBITRUM_ONE | Subgraph URL for Arbitrum One        | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_AVALANCHE    | Subgraph URL for Avalanche           | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_BASE         | Subgraph URL for Base                | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_BSC          | Subgraph URL for Binance Smart Chain | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_CELO         | Subgraph URL for Celo                | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_CORE         | Subgraph URL for Core                | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_FANTOM       | Subgraph URL for Fantom              | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_FUSE         | Subgraph URL for Fuse                | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_MAINNET      | Subgraph URL for Mainnet             | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_MATIC        | Subgraph URL for Matic               | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_MOONBEAM     | Subgraph URL for Moonbeam            | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_OPTIMISM     | Subgraph URL for Optimism            | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_SEPOLIA      | Subgraph URL for Sepolia             | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_XDAI         | Subgraph URL for Gnosis              | ❌       |\n| NEXT_PUBLIC_PAYMENTS_SUBGRAPH_URL_ZKSYNCERA    | Subgraph URL for ZkSyncEra           | ❌       |\n| NEXT_PUBLIC_GTM_ID                             | Google Tag Manager ID                | ❌       |\n| NEXT_PUBLIC_LIT_PROTOCOL_CHAIN                 | Lit Protocol Chain                   | ❌       |\n| NEXT_PUBLIC_LIT_PROTOCOL_NETWORK               | Lit Protocol Network                 | ❌       |\n| NEXT_PUBLIC_REQUEST_NODE                       | Request Node URL                     | ❌       |\n\n## Configuration\n\nThis configuration file (`wagmiConfig.ts`) is used to set up the wallet connection functionality for the Request Invoicing platform, leveraging `wagmi` and `RainbowKit`.\n\nIt supports multiple blockchain networks and a wide variety of wallet providers. The configuration is structured to allow easy integration of wallet connections in a React or Next.js app.\n\n## Configuration Details\n\n## [wagmiConfig](https://github.com/RequestNetwork/invoicing-template/blob/main/utils/wagmiConfig.ts)\n\n### Chains\n\nThe following chains are supported in the current setup:\n\n- Binance Smart Chain (BSC)\n- Celo\n- Base\n- Fuse\n- zkSync\n- Fantom\n- CoreDAO\n- Polygon\n- Ethereum Mainnet\n- Sepolia\n- Arbitrum\n- Moonbeam\n- Optimism\n- Avalanche\n- Gnosis\n\n### Currencies\n\n- The currencies prop is optional.\n- If provided, it overrides the default list of supported currencies.\n- To retain the default list of currencies, simply omit the currencies prop.\n\n#### Passing Custom Currencies\n\nTo override the default currencies, provide a custom list in the correct format:\n\n```ts\nexport const currencies: CurrencyTypes.CurrencyInput[] = [\n  {\n    symbol: \"FAU\",\n    address: \"0x370DE27fdb7D1Ff1e1BaA7D11c5820a324Cf623C\",\n    network: \"sepolia\",\n    decimals: 18,\n    type: RequestLogicTypes.CURRENCY.ERC20,\n  },\n  {\n    symbol: \"ETH\",\n    network: \"sepolia\",\n    decimals: 18,\n    type: RequestLogicTypes.CURRENCY.ETH,\n  },\n];\n```\n\nWhen added, this will replace the default currencies list. To retain the defaults, do not include the `currencies` prop.\n\n### Wallets\n\nThe following wallets are grouped into two categories:\n\n- **Recommended Wallets**:\n\n  - Injected Wallets\n  - MetaMask\n  - WalletConnect\n\n- **Other Wallets**:\n  - Safe Wallet\n  - Coinbase Wallet\n  - Ledger Wallet\n  - Trust Wallet\n\n### Transports (RPC URLs)\n\nEach chain is assigned an RPC URL, either from environment variables or using a default public RPC. You can configure these in your `.env` file using variables like `NEXT_PUBLIC_RPC_URL_\u003cCHAIN_NAME\u003e`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequestnetwork%2Finvoicing-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frequestnetwork%2Finvoicing-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequestnetwork%2Finvoicing-template/lists"}