Code Monkey home page Code Monkey logo

yourbitcoinbaseproject's Introduction



YOUR BITCOIN BASE PROJECT


This project is composed with 2 main submodules:

-YourBitcoinController: The basic Bitcoin controller to call to perform any operation

Available scenes:

	Assets\YourBitcoinController\Scenes\BasicManager.unity 
	Assets\YourBitcoinController\Scenes\CreateKeys.unity
	Assets\YourBitcoinController\Scenes\SignTextData.unity
	Assets\YourBitcoinController\Scenes\SignImageData.unity

-YourBitcoinScreens: A collection of screens that help you to manager your Bitcoin account and operations

Available scenes:

	Assets\YourBitcoinScreens\Scenes\YourBitcoinWallet.unity


YOUR BITCOIN CONTROLLER


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

TUTORIAL

  1. SET UP THE RUNTIME:

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

  2. INSTALLATION OF NBitcoin DLL:

    On Visual Studio open the NuGet console and run the command line: "Install-Package NBitcoin -Version 4.1.1.19"

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

  3. Run the scene BasicManager.unity and you will be able to perform operations with Bitcoins.

    Follow the instructions on the video tutorial:

    https://youtu.be/5Nj8FKymhjc

  4. Run the scene CreateKeys.unity to create new wallets

    Follow the instructions on the last part of the video tutorial (time 2:32):

    https://youtu.be/5Nj8FKymhjc?t=2m32s

  5. Run the scenes SignTextData.unity and SignImageData.unity to sign data and document using your keys

    Follow the instructions on the video tutorial:

    https://youtu.be/5Nj8FKymhjc?t=3m16s



YOUR BITCOIN SCREENS


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

TUTORIAL INTEGRATE BITCOINS 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 NBitcoin DLL to work.

  2. RUN THE SCENE:

    Assets\YourBitcoinController\Screens\Scenes\YourBitcoinWallet.unity
    
  3. OR FOLLOW THE INSTRUCTIONS OF THIS VIDEO TUTORIAL TO INTEGRATE BITCOIN IN YOUR APP/GAME:

    https://youtu.be/LLz3_BFcWic

  4. CREATE NEW PROJECT AND IMPORT YourBitcoinController PACKAGE

  5. DRAG THE PREFABS TO THE SCENE:

    Assets\YourBitcoinController\Screens\Resources\Prefabs\ScreenBitcoinController.prefab
    Assets\YourBitcoinController\Screens\Resources\Prefabs\LanguageController.prefab
    
  6. ADD UI\EventSystem TO THE SCENE.

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

  8. OPEN THE SCRIPT AND ADD THE CODE INSTRUCTION THAT WILL ALLOW YOU TO OPEN THE WALLE SCREEN.

  9. FOLLOW THE INSTRUCTIONS IN THE VIDEO TO ADD BITCOIN FUNDS

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

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

yourbitcoinbaseproject'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.