GithubHelp home page GithubHelp logo

0xcafebeef / dapp-moible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lestonz/lz-dapp-mobile

0.0 0.0 0.0 43 KB

Lz-DApp- Mobile template from Lestonz

License: MIT License

JavaScript 7.69% TypeScript 92.31%

dapp-moible's Introduction

lz-dapp-mobile

from Lestonz #MakingBetter

Lestonz

We are a team that has set out to combine your ideas and dreams with Web3 technology. We will do our best to migrate all Web2 and Web1 based applications to Web3.


SPONSOR AND PRODUCTS

Lz-Socials

Lz-News


Installation

Start:

npx lz-dapp-mobile

Enter your app name:

lz-dapp

Enter your app URI scheme:

reactnative

Enter your app file:

cd lz-dapp

Run your device:

yarn ios
yarn android

Recommend

We recommend you to use physical device after installing ios or android files. You should change .env file's datas for hardhat.config.js

Deploy to Smart Contract

You should open another terminal for Truffle Dashboard:

npx truffle dashboard

You can write in first terminal.

deploy:truffle

After that copy and paste your Smart Contract Address for config.js file, and copy and paste your own provider link.

YOUR_SMART_CONTRACT_ADDRESS
YOUR_PROVIDER_LINK

Open frontend/App.js file

Your Transaction Data Should Be Hexadecimal.

const tx = {
  from: `${connector.accounts}`, 
  to: `${YOUR_SMART_CONTRACT_ADDRESS}`,
  data: `${contractData}`,
  value:`${value}`    
}

or

const txSecond ={
  data: '0x',
  from: '0x8B6FE676217eEE2C9Cf484203Cb8855ca85eB07D',
  gas: '0x9c40',
  gasPrice: '0x02540be400',
  nonce: '0x0114',
  to: '0xa979143B16a3C61b317385C7dC3C269503B88c92',
  value: '0x00',
}

Visit to

Don't forget to follow me on Social Media :)

Your Beautiful Lz-DApp is ready for coding

dapp-moible's People

Contributors

lestonz 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.