Code Monkey home page Code Monkey logo

yourethereumscreens's Introduction

This project is based on NEthereum:

https://github.com/Nethereum/Nethereum/releases/tag/3.0.0-rc1

You can get the necessary DLLs to make the project work here:

https://github.com/Nethereum/Nethereum/releases/download/3.0.0-rc1/unitynet35dlls.zip


YOUR ETHEREUM SCREENS

Thanks to this plugin you will be able to include Ethereum cryptocurreny and Blockchain signning authentication in your games and applications.

The video tutorials make reference to Bitcoin but the methodology works almost the same way with Ethereum.

TUTORIAL INTEGRATE ETHEREUM IN YOUR APP/GAME

  1. SET UP THE RUNTIME:

    First of all, we make sure that the Scripting Runtime Version: ".NET 4.x Equivalent" in order for the NEthereum DLL to work.

  2. INSTALLATION OF NEthereum DLL:

    On Visual Studio open the NuGet console and run the command line: "Install-Package Nethereum.Portable"

    After installing the DLL you will be able to run the code without problems.

  3. GET YOUR OWN KEYS AND SET UP AT AT CLASS: EthereumController.cs

    public const string ETHERSCAN_API_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";   // Get your own key at: https://etherscan.io
    public const string INFURA_API_KEY = "YYYYYYYYYYYYYYYYY";   // Get your own key at: https://infura.io/
    
  4. RUN THE SCENE:

    Assets\YourEthereumScreens\Scenes\YourEhereumWallet.unity
    
  5. OR FOLLOW THE INSTRUCTIONS OF THIS VIDEO TUTORIAL TO INTEGRATE ETHEREUM IN YOUR APP/GAME:

    https://youtu.be/LLz3_BFcWic

  6. CREATE NEW PROJECT AND IMPORT YourEthereumController PACKAGE

  7. DRAG THE PREFABS TO THE SCENE:

    Assets\YourEthereumController\Screens\Resources\Prefabs\ScreenEthereumController.prefab
    Assets\YourEthereumController\Screens\Resources\Prefabs\LanguageController.prefab
    
  8. ADD UI\EventSystem TO THE SCENE.

  9. CREATE A NEW GAMEOBJECT AND ATTACH IT A SCRIPT CALLED Example.cs

  10. OPEN THE SCRIPT AND ADD THE CODE INSTRUCTION THAT WILL ALLOW YOU TO OPEN THE WALLET SCREEN.

  11. FOLLOW THE INSTRUCTIONS IN THE VIDEO TO ADD ETHEREUM FUNDS

  12. MODIFY THE SCRIPT AND USE THE INSTRUCTION TO OPEN THE SCREEN THAT WILL ALLOW YOU TO SEND CASH

  13. AFTER PERFORMING THE OPERATION YOU CAN CHECK IN TRANSACTIONS' SCREEN THAT THE OPERATION HAS BEEN DONE.

yourethereumscreens's People

Contributors

estebangamedevelopment avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.