{"id":13796376,"url":"https://github.com/broxus/everscale-standalone-client","last_synced_at":"2025-07-24T11:30:38.785Z","repository":{"id":43056307,"uuid":"426310972","full_name":"broxus/everscale-standalone-client","owner":"broxus","description":"Standalone fallback client for the Everscale blockchain","archived":false,"fork":false,"pushed_at":"2024-10-17T12:11:36.000Z","size":857,"stargazers_count":7,"open_issues_count":4,"forks_count":13,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-11-18T10:36:10.578Z","etag":null,"topics":["blockchain","everscale","venom-blockchain","venom-developer-program","venom-sdk","web3"],"latest_commit_sha":null,"homepage":"https://broxus.github.io/everscale-standalone-client/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/broxus.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":"2021-11-09T16:48:35.000Z","updated_at":"2024-11-04T17:29:45.000Z","dependencies_parsed_at":"2024-04-06T22:32:41.276Z","dependency_job_id":"8ca7716b-237f-415b-9095-a4b620136d8b","html_url":"https://github.com/broxus/everscale-standalone-client","commit_stats":{"total_commits":79,"total_committers":4,"mean_commits":19.75,"dds":0.05063291139240511,"last_synced_commit":"4dc596316caf7e4f34f0b93347c17cb7b97fc9ca"},"previous_names":["broxus/ton-standalone-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-standalone-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-standalone-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-standalone-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-standalone-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/broxus","download_url":"https://codeload.github.com/broxus/everscale-standalone-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227304473,"owners_count":17761503,"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":["blockchain","everscale","venom-blockchain","venom-developer-program","venom-sdk","web3"],"created_at":"2024-08-03T23:01:09.571Z","updated_at":"2024-11-30T21:13:33.187Z","avatar_url":"https://github.com/broxus.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/venom-blockchain/developer-program\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/venom-blockchain/developer-program/main/vf-dev-program.png\" alt=\"Logo\" width=\"366.8\" height=\"146.4\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Everscale standalone client \u0026emsp;  [![Latest Version]][npmjs.com] [![Docs badge]][docs]\n\n## About\n\nStandalone client to the Everscale blockchain to use with [`everscale-inpage-provider`](https://github.com/broxus/everscale-inpage-provider).\n\n## Usage\n\n### Install\n\n```shell\nnpm install --save everscale-inpage-provider everscale-standalone-client\n```\n\n### Example\n\n```typescript\nimport { Address, ProviderRpcClient, TvmException } from 'everscale-inpage-provider';\n\n// For browser environment:\nimport { EverscaleStandaloneClient } from 'everscale-standalone-client';\n// Or for nodejs environment:\n// import { EverscaleStandaloneClient } from 'everscale-standalone-client/nodejs';\n\nconst ever = new ProviderRpcClient({\n  fallback: () =\u003e\n    EverscaleStandaloneClient.create({\n      connection: {\n        id: 2, // network id\n        type: 'graphql',\n        data: {\n          // create your own project at https://dashboard.evercloud.dev\n          endpoints: ['https://devnet-sandbox.evercloud.dev/graphql'],\n        },\n      },\n    }),\n});\n\nasync function myApp() {\n  await ever.ensureInitialized();\n\n  await ever.requestPermissions({\n    permissions: ['basic'],\n  });\n\n  const dePoolAddress = new Address('0:2e0ea1716eb93db16077d30e51d092b075ce7f0eb1c08ca5bea67ef48a79368e');\n\n  const dePool = new ever.Contract(DePoolAbi, dePoolAddress);\n\n  try {\n    const output = await dePool.methods.getDePoolInfo({}).call();\n    console.log(output);\n  } catch (e) {\n    if (e instanceof TvmException) {\n      console.error(e.code);\n    }\n  }\n}\n\nconst DePoolAbi = {\n  'ABI version': 2,\n  header: ['time', 'expire'],\n  functions: [\n    {\n      name: 'getDePoolInfo',\n      inputs: [],\n      outputs: [\n        { name: 'poolClosed', type: 'bool' },\n        { name: 'minStake', type: 'uint64' },\n        { name: 'validatorAssurance', type: 'uint64' },\n        { name: 'participantRewardFraction', type: 'uint8' },\n        { name: 'validatorRewardFraction', type: 'uint8' },\n        { name: 'balanceThreshold', type: 'uint64' },\n        { name: 'validatorWallet', type: 'address' },\n        { name: 'proxies', type: 'address[]' },\n        { name: 'stakeFee', type: 'uint64' },\n        { name: 'retOrReinvFee', type: 'uint64' },\n        { name: 'proxyFee', type: 'uint64' },\n      ],\n    },\n  ],\n  data: [],\n  events: [],\n} as const; // NOTE: `as const` is very important here\n\nmyApp().catch(console.error);\n```\n\n### Build with Vite\n\nUsing [Vite](https://vitejs.dev) you might stuck with this [issue](https://github.com/vitejs/vite/issues/8427). As a workaround, you can try this:\n\nInstall the dev-server plugin:\n```bash\nnpm install --save-dev nekoton-wasm-vite\n```\n\nAnd add it to the `vite.config.ts`:\n```js\nimport { defineConfig } from 'vite'\nimport { nekotonWasmVite } from 'nekoton-wasm-vite'\n\nexport default defineConfig({\n  plugins: [\n    nekotonWasmVite(), // \u003c-- add to plugins section\n    // ...\n  ],\n  // ...\n});\n```\n\n## Contributing\n\nWe welcome contributions to the project! If you notice any issues or errors, feel free to open an issue or submit a pull request.\n\n## License\n\nLicensed under GPL-3.0 license ([LICENSE](/LICENSE) or https://opensource.org/license/gpl-3-0/).\n\n[latest version]: https://img.shields.io/npm/v/everscale-standalone-client\n[npmjs.com]: https://www.npmjs.com/package/everscale-standalone-client\n[docs badge]: https://img.shields.io/badge/docs-latest-brightgreen\n[docs]: https://broxus.github.io/everscale-standalone-client/index.html\n","funding_links":[],"categories":["Programming"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroxus%2Feverscale-standalone-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbroxus%2Feverscale-standalone-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroxus%2Feverscale-standalone-client/lists"}