All Projects → BANKEX → Web3swift

BANKEX / Web3swift

Licence: apache-2.0
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions on Ethereum network.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Web3swift

Blockchainbooks.github.io
Blockchain Books
Stars: ✭ 139 (-69.91%)
Mutual labels:  ethereum, cryptocurrency, smart-contracts, web3
Web3swift
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions.
Stars: ✭ 237 (-48.7%)
Mutual labels:  json-rpc, ethereum, smart-contracts, web3
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (-69.48%)
Mutual labels:  ethereum, cryptocurrency, smart-contracts, wallet
Celo Monorepo
Official repository for core projects comprising the Celo platform
Stars: ✭ 269 (-41.77%)
Mutual labels:  ethereum, cryptocurrency, smart-contracts, wallet
Eth Crypto
Cryptographic javascript-functions for ethereum and tutorials to use them with web3js and solidity
Stars: ✭ 420 (-9.09%)
Mutual labels:  ethereum, smart-contracts, web3, transaction
Blockchain Stuff
Blockchain and Crytocurrency Resources
Stars: ✭ 2,549 (+451.73%)
Mutual labels:  ethereum, cryptocurrency, smart-contracts
Walletconnect Monorepo
WalletConnect Monorepo
Stars: ✭ 230 (-50.22%)
Mutual labels:  ethereum, wallet, web3
Myetherapi
An API by MyEtherWallet. ETH / Ropsten / JSON RPC / Web3
Stars: ✭ 95 (-79.44%)
Mutual labels:  json-rpc, ethereum, web3
Uniswap V2 Periphery
🎚 Peripheral smart contracts for interacting with Uniswap V2
Stars: ✭ 267 (-42.21%)
Mutual labels:  ethereum, cryptocurrency, smart-contracts
Ebtc
eBitcoin (eBTC) is an ERC20 token. Its primary utility is to provide an easy & fast payment solution. Its edge over other tokens is that it is capable of sending up to 255 payments in a single transaction.
Stars: ✭ 149 (-67.75%)
Mutual labels:  ethereum, cryptocurrency, smart-contracts
Solidity Idiosyncrasies
Solidity gotchas, pitfalls, limitations, and idiosyncrasies.
Stars: ✭ 267 (-42.21%)
Mutual labels:  ethereum, smart-contracts, web3
React Ethereum Dapp Example
A starter boilerplate for an Ethereum dapp using web3.js v1.0, truffle, react, and parity
Stars: ✭ 384 (-16.88%)
Mutual labels:  ethereum, smart-contracts, web3
Unstoppable Wallet Ios
A secure and decentralized Bitcoin and other cryptocurrency wallet for iPhone. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 180 (-61.04%)
Mutual labels:  ethereum, cryptocurrency, wallet
Unstoppable Wallet Android
A secure and decentralized Bitcoin and other cryptocurrency wallet for Android phones. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 165 (-64.29%)
Mutual labels:  ethereum, cryptocurrency, wallet
Web3 By Example
Node.js with Web3 javascript examples for getting basic information (transactions, balances, network stats, and tokens) from the Ethereum blockchain.
Stars: ✭ 156 (-66.23%)
Mutual labels:  ethereum, web3, transaction
Alpha
Follow the white rabbit 🐇
Stars: ✭ 304 (-34.2%)
Mutual labels:  ethereum, smart-contracts, web3
Web3.swift
A pure swift Ethereum Web3 library
Stars: ✭ 295 (-36.15%)
Mutual labels:  ethereum, smart-contracts, web3
Uniswap V1
🐍Uniswap V1 smart contracts
Stars: ✭ 313 (-32.25%)
Mutual labels:  ethereum, cryptocurrency, smart-contracts
Status React
a free (libre) open source, mobile OS for Ethereum
Stars: ✭ 3,307 (+615.8%)
Mutual labels:  ethereum, cryptocurrency, wallet
Awesome Coins
₿ A guide (for humans!) to cryto-currencies and their algos.
Stars: ✭ 3,469 (+650.87%)
Mutual labels:  ethereum, cryptocurrency, wallet

You can ask for help in our Discord Channel

Support Stackoverflow Apps using web3swift

bkx-foundation-github-swift

Swift 4.2 Compatible Platforms iOS | macOS Compatible

web3swift

  • Swift implementation of web3.js functionality ⚡️
  • Interaction with remote node via JSON RPC 💭
  • Smart-contract ABI parsing 📖
  • Local keystore management (geth compatible)
  • Private key and transaction were created directly on an iOS device and sent directly to Infura node
  • Native API
  • Security (as cool as a hard wallet! Right out-of-the-box! :box: )
  • No unnecessary dependencies
  • Possibility to work with all existing smart contracts
  • Referencing the newest features introduced in Solidity

Features

  • Create Account
  • Import Account
  • Sign transactions
  • Send transactions, call functions of smart-contracts, estimate gas costs
  • Serialize and deserialize transactions and results to native Swift types
  • Convenience functions for chain state: block number, gas price
  • Check transaction results and get receipt
  • Parse event logs for transaction
  • Manage user's private keys through encrypted keystore abstractions
  • Batched requests in concurrent mode, checks balances of 580 tokens (from the latest MyEtherWallet repo) over 3 seconds
  • Literally following the standards:

BIP32 BIP39 BIP44 EIP 20 EIP 67 EIP 155 EIP 681 EIP 721 EIP 777 EIP 888

Requirements

Web3swift requires Swift 4.2 and deploys to macOS 10.10, iOS 9, watchOS 2 and tvOS 9 and linux.

Don't forget to set the iOS version in a Podfile, otherwise you get an error if the deployment target is less than the latest SDK.

Installation

  • Swift Package Manager: Although the Package Manager is still in its infancy, web3swift provides full support for it. Add this to the dependency section of your Package.swift manifest:

    .package(url: "https://github.com/BANKEX/web3swift.git", from: "2.1.0")
    
  • CocoaPods: Put this in your Podfile:

    pod 'web3swift.pod'
    
  • Carthage: Put this in your Cartfile:

    github "BANKEX/web3swift" ~> 2.1
    

Documentation

Hi. We spend a lot of time working on documentation. If you have some questions after reading it just open an issue or ask in our discord channel. We would be happy to help you.

Most of the classes are documented and have some examples on how to use it.

Read documentation in using Xcode

Github Pages

We would appreciate it if you translate our documentation into another language, and will be happy to provide you with all the necessary information on how to do this. We will compensate you for translations that will be included in the master branch.

Design decisions

  • Not every JSON RPC function is exposed yet, priority is given to the ones required for mobile devices
  • Functionality was focused on serializing and signing transactions locally on the device to send raw transactions to Ethereum network
  • Requirements for password input on every transaction are indeed a design decision. Interface designers can save user passwords with the user's consent
  • Public function for private key export is exposed for user convenience, but marked as UNSAFE_ :) Normal workflow takes care of EIP155 compatibility and proper clearing of private key data from memory

Contribution

For the latest version, please check develop branch.

Changes made to this branch will be merged into the master branch at some point.

Special thanks to

  • Gnosis team and their library Bivrost-swift for inspiration for the ABI decoding approach
  • Trust iOS Wallet for the collaboration and discussion of the initial idea
  • Official Ethereum and Solidity docs, everything was written from ground truth standards

Donate

0x47FC2e245b983A92EB3359F06E31F34B107B6EF6
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].