{"id":21607902,"url":"https://github.com/ark930/bifrost.js","last_synced_at":"2025-03-18T15:23:37.035Z","repository":{"id":75422246,"uuid":"253205520","full_name":"ark930/bifrost.js","owner":"ark930","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-05T10:11:37.000Z","size":247,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T19:36:46.914Z","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/ark930.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":"2020-04-05T10:10:49.000Z","updated_at":"2020-04-05T10:11:40.000Z","dependencies_parsed_at":"2023-06-06T11:15:19.538Z","dependency_job_id":null,"html_url":"https://github.com/ark930/bifrost.js","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ark930%2Fbifrost.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ark930%2Fbifrost.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ark930%2Fbifrost.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ark930%2Fbifrost.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ark930","download_url":"https://codeload.github.com/ark930/bifrost.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244246572,"owners_count":20422461,"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-24T20:34:30.946Z","updated_at":"2025-03-18T15:23:37.011Z","avatar_url":"https://github.com/ark930.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![license](https://img.shields.io/badge/License-Apache%202.0-blue?logo=apache\u0026style=flat-square)\n[![npm](https://img.shields.io/npm/v/@acala-network/api?logo=npm\u0026style=flat-square)](https://www.npmjs.com/package/@acala-network/api)\n\n# @acala-network\n\nThis library provides additional typing information for user to access Acala Network by using [polkadot.js](https://github.com/polkadot-js/api).\n\n# Getting Started\n\n- Install dependencies\n\n```bash\nyarn add @polkadot/api@1.9.0 @acala-network/api@beta\n```\n\nNote: Currently only `@acala-network/api@beta` and `@polkadot/api@1.9.0` are supported.\n\n- Create API instance\n\n```ts\nimport { ApiPromise } from '@polkadot/api';\nimport { WsProvider } from '@polkadot/rpc-provider';\nimport { options } from '@acala-network/api';\n\nasync function main() {\n    const provider = new WsProvider('wss://testnet-node-1.acala.laminar.one/ws');\n    const api = new ApiPromise(options({ provider }));\n    await api.isReady;\n\n    // use api\n}\n\nmain()\n```\n\n- Use api to interact with node\n\n```ts\n// query and display account data\nconst data = await api.query.system.account('5F98oWfz2r5rcRVnP9VCndg33DAAsky3iuoBSpaPUbgN9AJn');\nconsole.log(data.toHuman())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fark930%2Fbifrost.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fark930%2Fbifrost.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fark930%2Fbifrost.js/lists"}