{"id":13746630,"url":"https://github.com/trustwallet/trust-web3-provider","last_synced_at":"2025-05-15T17:06:59.089Z","repository":{"id":37677406,"uuid":"121182921","full_name":"trustwallet/trust-web3-provider","owner":"trustwallet","description":"Web3 javascript wrapper provider for iOS and Android platforms.","archived":false,"fork":false,"pushed_at":"2025-03-21T16:56:48.000Z","size":8719,"stargazers_count":837,"open_issues_count":111,"forks_count":461,"subscribers_count":67,"default_branch":"main","last_synced_at":"2025-05-10T06:41:43.199Z","etag":null,"topics":["blockchain","dapps","swift","web3"],"latest_commit_sha":null,"homepage":"https://trustwallet.com","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/trustwallet.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":"2018-02-12T00:44:21.000Z","updated_at":"2025-05-09T20:46:25.000Z","dependencies_parsed_at":"2023-02-13T19:55:50.252Z","dependency_job_id":"f0dcc761-16ce-44cd-8da1-5f32e7bafa82","html_url":"https://github.com/trustwallet/trust-web3-provider","commit_stats":null,"previous_names":[],"tags_count":110,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustwallet%2Ftrust-web3-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustwallet%2Ftrust-web3-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustwallet%2Ftrust-web3-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustwallet%2Ftrust-web3-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trustwallet","download_url":"https://codeload.github.com/trustwallet/trust-web3-provider/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254384988,"owners_count":22062422,"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","dapps","swift","web3"],"created_at":"2024-08-03T06:00:57.336Z","updated_at":"2025-05-15T17:06:54.080Z","avatar_url":"https://github.com/trustwallet.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Exchange-based Tokens"],"sub_categories":[],"readme":"# TrustWeb3Provider\n\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/trustwallet/trust-web3-provider)\n[![License](https://img.shields.io/cocoapods/l/TrustWeb3Provider.svg?style=flat)](http://cocoapods.org/pods/TrustWeb3Provider)\n[![Platform](https://img.shields.io/cocoapods/p/TrustWeb3Provider.svg?style=flat)](http://cocoapods.org/pods/TrustWeb3Provider)\n[![Platform](https://img.shields.io/badge/platform-android-lightgrey.svg)](https://jitpack.io/#TrustWallet/trust-web3-provider/0.2.1)\n\nTrustWeb3Provider is multi-network web3 provider used by TrustWallet. Currently it supports:\n\n- Ethereum\n- Solana\n\n## How to Identify Trust Provider\n\nIf trust provider injected properly `isTrust` will be `true`\n\n```javascript\nwindow.ethereum.isTrust\n// or\nwindow.trustwallet.solana.isTrust\n```\n\n## Installation\n\n### iOS\n\nTrustWeb3Provider is available through CocoaPods and SPM (locally due to Xcode git lfs issue).\n\nCocoaPods\n\nAdd this line to your `Podfile`:\n```ruby\npod 'TrustWeb3Provider', :git =\u003e 'https://github.com/trustwallet/trust-web3-provider', :branch =\u003e 'master'\n```\n\nSwift Package Manager\n\nAdd this repo as a `git submodule`, then add it this to your `Package.swift`:\n\n```swift\n.package(name: \"TrustWeb3Provider\", path: \"\u003clocal path\u003e\"),\n```\n\nHere is an example project located at `ios/TrustWeb3Provider.xcodeproj` to demonstrate how to use this provider.\n\n### Android\n\nTrustWeb3Provider is available through [Jitpack](https://jitpack.io)\n#### Jitpack\n\nTo install it:\n\nStep 1. Add jitpack to `repositories` in your root `build.gradle` file:\n\n```groovy\nallprojects {\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nStep 2. Add the dependency\n\n```groovy\ndependencies {\n    implementation 'com.github.trustwallet:trust-web3-provider:TAG'\n}\n```\n\n## Authors\n\n[vikmeup](https://github.com/vikmeup)  \n[hewigovens](https://github.com/hewigovens)  \n[madcake](https://github.com/madcake)  \n[rsrbk](https://github.com/rsrbk)\n\n## License\n\nTrustWeb3Provider is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustwallet%2Ftrust-web3-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrustwallet%2Ftrust-web3-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustwallet%2Ftrust-web3-provider/lists"}