{"id":32779397,"url":"https://github.com/minterteam/minter-js-web3-sdk","last_synced_at":"2025-11-04T16:06:44.783Z","repository":{"id":151824327,"uuid":"624873703","full_name":"MinterTeam/minter-js-web3-sdk","owner":"MinterTeam","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-17T09:42:24.000Z","size":333,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-20T04:51:15.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/MinterTeam.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":"2023-04-07T13:23:33.000Z","updated_at":"2024-06-17T09:42:28.000Z","dependencies_parsed_at":"2024-06-17T11:01:27.377Z","dependency_job_id":"b7b9d8e8-de47-4d7f-b67e-d4918da0283c","html_url":"https://github.com/MinterTeam/minter-js-web3-sdk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MinterTeam/minter-js-web3-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinterTeam%2Fminter-js-web3-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinterTeam%2Fminter-js-web3-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinterTeam%2Fminter-js-web3-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinterTeam%2Fminter-js-web3-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinterTeam","download_url":"https://codeload.github.com/MinterTeam/minter-js-web3-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinterTeam%2Fminter-js-web3-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282668863,"owners_count":26707465,"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-11-04T02:00:05.887Z","response_time":62,"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-11-04T16:06:41.464Z","updated_at":"2025-11-04T16:06:44.777Z","avatar_url":"https://github.com/MinterTeam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minter-js-web3-sdk\n\n[![NPM Package](https://img.shields.io/npm/v/minter-js-web3-sdk.svg?style=flat-square)](https://www.npmjs.org/package/minterjs-util)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square\u0026label=license)](https://github.com/MinterTeam/minter-js-web3-sdk/blob/master/LICENSE)\n\nPlease note that this package is under active development and is subject to change.\n\n## Install\n\n`npm install minter-js-web3-sdk`\n\n\n## Usage\n\n```js\n// - calculation of smart-wallet address\n// - methods to build, sign, and broadcast combined tx from multiple internal txs\nimport useWeb3SmartWallet from 'minter-js-web3-sdk/src/composables/use-web3-smartwallet.js';\n\n// - calculates reward amount (in erc20 tokens or native coin) for relay service\n// - build internal txs to swap erc20 token to native coin and send it to relay service as reward\nimport useWeb3SmartWalletWithRelayReward from 'minter-js-web3-sdk/src/composables/use-web3-smartwallet-relay-reward.js';\n\n// swap tokens via 1inch, makes estimation and build internal swap tx\nimport useWeb3SmartWalletSwap from 'minter-js-web3-sdk/src/composables/use-web3-smartwallet-swap.js';\n```\n\n\n## Examples\n\nTransfer ERC20 token and pay fee with it\nhttps://github.com/MinterTeam/honee-app-web/blob/dev/components/ActionSendWeb3.vue\n\nSwap via 1inch (spend on Minter and receive on Minter)\nhttps://github.com/MinterTeam/honee-app-web/blob/master/components/ActionSwapWeb3.vue\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminterteam%2Fminter-js-web3-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminterteam%2Fminter-js-web3-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminterteam%2Fminter-js-web3-sdk/lists"}