I have one doubt :
I don't want to create web app for my ico project.I want to create android and Ios app for my project.
want to use PHP as a backend.
can anyone suggest me some development approach.I don't have any idea about how to achieve it.
Note : Smart contract Development done !
Apr 21, 2018, 9:09 AM
Unity, android sdk and nethereum dll's
Apr 21, 2018, 9:39 AM
Want to make backend in phP
Apr 21, 2018, 9:41 AM
Your backend is your smart contract
Apr 21, 2018, 9:41 AM
might be you don't get point :
on click of button ( in android) we call the php api and php api call the function from smart contract and update and get tge data abd return the dara
on click of button ( in android) we call the php api and php api call the function from smart contract and update and get tge data abd return the dara
Apr 21, 2018, 9:42 AM
Well php is for web development, you dont want to create web app.. but android/ios app.. so use tools that are provided such as nethereum dlls to get functions to communicate with ethereum network...
Apr 21, 2018, 9:52 AM
Than it as not a dapp but a centralized service
Apr 21, 2018, 9:53 AM
Okay !
Suggest me any idea !
How to make android and ios app for upcoming ico
I am not getting how to achieve ot.
Apr 21, 2018, 9:56 AM
I already did
Apr 21, 2018, 9:56 AM
How ??
Apr 21, 2018, 9:57 AM
Please do not do an ico if you want answers for these things
Apr 21, 2018, 9:57 AM
Build ui in unity, add c# script which uses the nethereum .dll's and handle your onclicks etc
Apr 21, 2018, 9:57 AM
Or use web3 and cordova or something
Apr 21, 2018, 9:58 AM
Why you laughing josh ?
We are doing here any comedy show !
Don't laught atleast .
Because we all are on same page .
No one expert in this field and trying to get expertise in blockchai. development
Because we all are on same page .
No one expert in this field and trying to get expertise in blockchai. development
So give your suggestion !
Don't laugh.it hurts and down our moral.
Don't laugh.it hurts and down our moral.
But want to do build mobile app.
I am taking it as a challenge
I am taking it as a challenge
Error increase your exp. And your exp. decrease the errors.😉😉
Apr 21, 2018, 10:49 AM
If you are doing an ico you should know what you are talking about. Otherwise you an asshole for taking people's money
Apr 21, 2018, 10:50 AM
First of all..i am not doing any live project .
I am working on dummy sceneario.
I am working on dummy sceneario.
So i can explore more !!
I already buid an demo and ico also.
I am clear in web !
But confuse about the mobile
That'a why i discuss with you expert guys !
Apr 21, 2018, 10:52 AM
Send us the smart contract so we can review?
Best way to learn
Apr 21, 2018, 10:52 AM
Sure ! If you want to do I am giving you my contract
Scenerio of sale is something like that :
will issue 100,000,000 DEV Tokens
Eighty percent (80%) of those tokens will be blocked and never move
Twenty percent (20%) or twenty million Tokens will be circulating and that will never change
( fifteen percent (15%) of dev Tokens to the public, 1% in airdrop or 4% team bounty)
Private Sale (2.5 Million DEV)
1 DEV = 0.001 ETH (2,500 ETH)
ICO Phase 1 (2.5 Million DEV)
1 DEV = 0.002 ETH (5,000 ETH)
ICO Phase 2 (5 Million DEV)
1 DEV = 0.003 ETH (15,000 ETH)
ICO Phase 3 (5 Million DEV)
1 DEV = 0.004 ETH (20,000 ETH)
Soft Cap: 7,500 ETH
Hard Cap: 42,500 ETH
Note : This is not refundable sale.
will issue 100,000,000 DEV Tokens
Eighty percent (80%) of those tokens will be blocked and never move
Twenty percent (20%) or twenty million Tokens will be circulating and that will never change
( fifteen percent (15%) of dev Tokens to the public, 1% in airdrop or 4% team bounty)
Private Sale (2.5 Million DEV)
1 DEV = 0.001 ETH (2,500 ETH)
ICO Phase 1 (2.5 Million DEV)
1 DEV = 0.002 ETH (5,000 ETH)
ICO Phase 2 (5 Million DEV)
1 DEV = 0.003 ETH (15,000 ETH)
ICO Phase 3 (5 Million DEV)
1 DEV = 0.004 ETH (20,000 ETH)
Soft Cap: 7,500 ETH
Hard Cap: 42,500 ETH
Note : This is not refundable sale.
this code of contract :
https://gist.github.com/cmaliwal/35d0857b0e262cefd6d4304c8c375d8f
https://gist.github.com/cmaliwal/35d0857b0e262cefd6d4304c8c375d8f
Josh @pablocryptobar010
Hope.. you help me alot.
Hope.. you help me alot.
Josh , Thanks for your words ! I understand what you want to say..
I will do home work on it.
I will do home work on it.
@pablocryptobar010 , Yes programming is imporve from discussion.
Josh , just dummy secenario.
not relate to real world!
I am python developer and trying my best to learn solidity
I am python developer and trying my best to learn solidity
Firstly I start with zeppelian solidity
But after that I felt its not good development appraoch so I start with ERC20 interface.
I do daily practise ! But no one is to me guide ..
Thanks man !Anything else you find intresting please share on community
Apr 21, 2018, 11:20 AM
Will check it later today
Enjoying the sunshine
Apr 21, 2018, 11:27 AM
sure !!
Thanks man!
Here is evening.
Here is evening.
so no sunshine
do verify your contract before the ico or after the ico is good approach or not ???
Apr 21, 2018, 11:44 AM
is it mean you want to create "native" app, and not cordova app? then use react native 👍 no need for php backend, directly hit ethereum via infura
Apr 21, 2018, 1:09 PM
Thanks man!! For your cool response.
I know about the react native.
React native is use for cross platform!!!
But scenario is something like that :
make api in php
and call them from the app.
first question : 1. Does it possible ?
2. If no then movie is finish here bit if yes then
what will be the development approach ?
2.1 : What lib. I need to use.
I know about the react native.
React native is use for cross platform!!!
But scenario is something like that :
make api in php
and call them from the app.
first question : 1. Does it possible ?
2. If no then movie is finish here bit if yes then
what will be the development approach ?
2.1 : What lib. I need to use.
Apr 21, 2018, 1:13 PM
if you insist to have backend, i recommend to use nodejs and not php. run web3 directly in nodejs
Apr 21, 2018, 1:15 PM
Yes I know in php vs node. Node is clear winner.
But what about If i opt PHP.
But what about If i opt PHP.
I am not talking for any project secanario .
It's just my curiosity.
It's just my curiosity.
Apr 21, 2018, 1:17 PM
check ethereum json rpc api, call them using php's curl
Apr 21, 2018, 1:21 PM
Have you done @pablocryptobar010 ?
Apr 23, 2018, 5:54 AM
You still have problem with your constructor you should look at that again.
Apr 23, 2018, 6:08 AM
Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
Apr 23, 2018, 6:46 AM
Either way you spelt constructor wrong, so its callable by anyone.
Apr 23, 2018, 7:28 AM