Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.53 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.53 KB

SpaceDrop

Space-themed mobile game for token airdrops on Flow with in-game NFT assets. Why Airdrop when you can Spacedrop?

Contract deployments

Flow Testnet

Contract Deployment
SpaceDropNFT 0x31c5fa0de1f0fedf
SampleToken 0x31c5fa0de1f0fedf

Setup

  • Open the project with the Unity editor.

Run the emulator

  • Select Window -> Flow -> Flow Control
  • In FlowControlManager, select path for Emulator data directory as /Assets/SpaceDrop/Scripts/Cadence
  • Click on start emulator
  • Run the script emulator_run.bat (on windows) or emulator_run.sh (on linux)
  • Edit the emulator endpoint url here

Build

  • Select “Install” tab and click on “Add Modules” button. Then add the following modules:
    • Android – “Android Build Support” with “Android SDK & NDK Tools” and “OpenJDK”.
  • Once the unity editor is open in the game window choose portrait mode
  • Go to file and select Build Settings as Android
  • Click on Build to generate the APK