We want to create a simple smart contract: After the click of a "pay"-button, you have to pay automatically 0,01 ETH to our wallet and you can visit after the confirmend transaction a website/link/content. Used Browser: Mist

Thank you for your help for us beginners to create our first smart contract.


you don't need to creat a smart contract you could only using web3js send a transaction and check if it is confirmed then redirect the user to your link

  • Client side check s not enough to prevent users to access premium content. This has to be done on the server side. Dec 11 '17 at 23:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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