I am currently building a dapp on my server which I would like to port to swarm or ipfs and make it completely decentralized.

The initial app will be these components - front end javascript app - backend php app - smart contract

I know there wont be a problem with putting front end on swarm and contract to ethereum network, but how about php backend? Can I make that part decentralized, or will I have to put it on my server? Thank you!

1 Answer 1


You can't run your php backend on swarm. What's generally done is all business logic that needs to be trusted is done in smart contracts, and the frontend does any processing it may need to do for the end user. You could look into TrueBit as well, which is essentially a decentralized computation marketplace protected by fraud proofs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.