{"id":35780250,"url":"https://github.com/casper-network/casper-contracts-js-clients","last_synced_at":"2026-01-07T06:00:28.514Z","repository":{"id":43039134,"uuid":"409254162","full_name":"casper-network/casper-contracts-js-clients","owner":"casper-network","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-31T08:13:23.000Z","size":1087,"stargazers_count":8,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-17T01:47:24.161Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casper-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-22T15:17:33.000Z","updated_at":"2023-12-31T03:05:14.000Z","dependencies_parsed_at":"2023-02-11T02:15:39.756Z","dependency_job_id":null,"html_url":"https://github.com/casper-network/casper-contracts-js-clients","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/casper-network/casper-contracts-js-clients","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcasper-contracts-js-clients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcasper-contracts-js-clients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcasper-contracts-js-clients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcasper-contracts-js-clients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casper-network","download_url":"https://codeload.github.com/casper-network/casper-contracts-js-clients/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcasper-contracts-js-clients/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28233226,"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":"2026-01-07T02:00:05.975Z","response_time":58,"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":"2026-01-07T06:00:05.377Z","updated_at":"2026-01-07T06:00:28.507Z","avatar_url":"https://github.com/casper-network.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# casper-contracts-js-clients\n\nThis project contains a library that will help you create clients for Casper contracts and a few implementations of such clients dedicated to interacting with smart contracts on Casper. You will find these clients published in `npm`:\n\n- A [Casper CEP-47 (NFT)](https://github.com/casper-ecosystem/casper-nft-cep47) client in JavaScript: [casper-cep47-js-client](https://www.npmjs.com/package/casper-cep47-js-client)\n\n\u003e Looking for CEP-18(ERC20) client? Please check [here](https://github.com/casper-ecosystem/cep18/tree/master/client-js)\n\n## Usage examples\n\nIn this project, you will find end-to-end (e2e) tests, which you can also use as examples of interacting and using the contracts. The tests are well documented and can give you an overview of all contract functionality.\n\nBefore running an e2e test, run `npm i' inside the project's root directory:\n\n```\ncd packages/cep47-js-client\nnpm i\nnpm run bootstrap\nnpm run dist\n```\n\n### CEP-47 client usage\n\nBefore running this example client, you must specify all the environment variables in the `.env.cep47` file. If you need help, reference the `.env.cep47.example` file.\n\n**Steps:**\n\n- Open the [CEP-47 client example](packages/cep47-client)\n- Set the environment variables in the `.env.cep47` file\n- Run the [install script](e2e/cep47/install.ts)\n- View the [client usage example](e2e/cep47/usage.ts)\n- Install the contract:\n\n  ```\n  npm run e2e:cep47:install\n  ```\n\n- Run the test example:\n\n  ```\n  npm run e2e:cep47:usage\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasper-network%2Fcasper-contracts-js-clients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasper-network%2Fcasper-contracts-js-clients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasper-network%2Fcasper-contracts-js-clients/lists"}