from Lestonz #MakingBetter
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.
Dowloading Global:
npm i -g lz-dapp-mobileStart:
npx lz-dapp-mobileEnter your app name:
lz-dappEnter your app URI scheme:
reactnativeEnter your app file:
cd lz-dappRun your device:
yarn ios
yarn androidWe recommend you to use physical device after installing ios or android files. You should change .env file's datas for hardhat.config.js
You should open another terminal for Truffle Dashboard:
npx truffle dashboardYou can write in first terminal.
deploy:truffleAfter 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_LINKOpen frontend/App.js file
const tx = {
from: address,
to: `${YOUR_SMART_CONTRACT_ADDRESS}`,
data: `${contractData}`,
value:`${value}`,
gasPrice: web3Provider.utils.toWei('10', 'gwei')
}or
const txSecond ={
data: '0x',
from: '0x8B6FE676217eEE2C9Cf484203Cb8855ca85eB07D',
gas: '0x9c40',
gasPrice: '0x02540be400',
nonce: '0x0114',
to: '0xa979143B16a3C61b317385C7dC3C269503B88c92',
value: '0x00',
}Your Beautiful Lz-DApp is ready for coding