Giter VIP home page Giter VIP logo

markspereira / meta-tx-mobile Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 216.89 MB

A react-native implementation of meta-txs

License: MIT License

JavaScript 0.34% Ruby 0.01% XC 0.19% XS 0.18% Python 34.83% Shell 0.12% Perl 0.24% CMake 1.07% C++ 24.62% C 37.75% Makefile 0.23% Batchfile 0.01% AppleScript 0.01% Emacs Lisp 0.10% Roff 0.17% CSS 0.02% GDB 0.01% Objective-C 0.10% Java 0.01% Swift 0.01%

meta-tx-mobile's Introduction

react-native-web3-boilerplate

This is the mobile version to the JOE (Javascript on Everything) platform. JOE is a platform that aims to connect mobile apps, web apps, desktop apps, server apps, and IoT apps to the blockchain entirely using Javascript.

Scheme

Get Started

Go into your terminal and choose a directory that you want the project to reside in. Enter into your terminal git clone https://github.com/markspereira/react-native-web3-boilerplate.git RNWeb3BoilerPlate

cd RNWeb3BoilerPlate

npm install

react-native run-ios

If you haven't installed node.js

Install NVM

Check to see if you have nvm by running nvm --version in your terminal

If not then download it from https://github.com/creationix/nvm

Install Node.js

Check to see if you have node by running node --version in your terminal

If you don't then

nvm install 8.60.0

Go into the root directory of the app cd RNWeb3BoilerPlate

Then enter npm install

Then react-native run-ios

You can then look into App.js to see the code I've written.

Happy coding! ๐ŸŽ‰

Tenzorum Gasless TXs

Format

{
      uint8 _v, bytes32 _r, bytes32 _s,
      address _from, //the subscriber
      address _to, //the publisher
      uint _value, //wei value of transfer
      bytes _data, //data input
      address _rewardType, //reward relayers in tokens or ETH
      uint _rewardAmount //amount to reward
}

Rx

    ##Client SDK

    HTTP POST https://login.tenzorum.app/execute + data
    GRAPHQL endpoint mutation ExecuteGaslessTx($from: $WalletAddress!, $to: $WalletAddress!, $amount: Int!) {
                       executeTransaction(from: $from, to: $to) {
                            amount
                       }
                     }

    ##Relay RPG
    -Coming

Tx

{
    function execute(
      uint8 _v, bytes32 _r, bytes32 _s,
      address _from,
      address _to,
      uint _value,
      bytes _data,
      address _rewardType, uint _rewardAmount) public
}

Example Implementation Links

Tenzorum

Tenzorum Gasless TXs

Format

{
      uint8 _v, bytes32 _r, bytes32 _s,
      address _from, //the subscriber
      address _to, //the publisher
      uint _value, //wei value of transfer
      bytes _data, //data input
      address _rewardType, //reward relayers in tokens or ETH
      uint _rewardAmount //amount to reward
}

Rx

    ##Client SDK

    HTTP POST https://login.tenzorum.app/execute + data
    GRAPHQL endpoint mutation ExecuteGaslessTx($from: $WalletAddress!, $to: $WalletAddress!, $amount: Int!) {
                       executeTransaction(from: $from, to: $to) {
                            amount
                       }
                     }

    ##Relay RPG
    -Coming

Tx

{
    function execute(
      uint8 _v, bytes32 _r, bytes32 _s,
      address _from,
      address _to,
      uint _value,
      bytes _data,
      address _rewardType, uint _rewardAmount) public
}

Example Implementation Links

Tenzorum

meta-tx-mobile's People

Contributors

markspereira avatar

Watchers

 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.