Skip to content

BeTechnologyCo/Web3Library

Repository files navigation

Web3Library for Unity

A powerfull library to interact with EVM blockchains (Ethereum/Polygon/Fantom/BSC/Avalanche...)

You have 3 possibilities to connect to an account :

  • With a private key and rpc url, usefull for test or server client !!!Don't publish your private key, a malicious user can steal your key!!!
  • With Metamask, works only in WebGL mode, the apps will use the metamsak extension wallet of the user to interact with the blockchain
  • With WalletConnect and rpc url, the app will use the rpc url to call node and use the wallet client to send/sign transaction

Compatibility

I don't have test all platform for the moment, but the goal is to work on WebGL/Windows/Editor/Mobile

Connection Mode WebGL Editor iOs Android Windows
RPC
Metamask by WalletConnect by WalletConnect by WalletConnect by WalletConnect
Wallet connect

Third Party

Nethereum rewrite partially to encode/decode data and send request to blockchain node

WalletConnect to connect to your personnal wallet

UniTask to have task who works on every Unity platforms

NativeWebSocket to use WalletConnect with all Unity export platforms

Zxing to generate QR code

Ethereum 3D logo by Akimovcg is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).]

Game Sample

Immumon use this library to authenticate user, Source code

Docs

You can find the docs here : Web3Library doc

Tip me

BTC bc1qrrvflnkh3447r6tcykjqe925pdud55lnhazs20

Eth/Bnb/Matic/Ftm/Avax... 0xB95c39ef569c5a6205C2F45F04bDA4efe9cAe5D3

Contact me

If you have a web3 project, please contact me. I am looking forward to our future collaboration! mail me at be[at]be-technology.fr