Learn how to create a tip jar and earn HFC in your domain.
This page details how to create an entity that, when clicked, will prompt a user to send you 10 HFC.
To create this content, you'll need:
Consider familiarizing yourself with the following concepts:
Start by opening Interface in Desktop mode and connecting to your domain!
Use the 'CREATE' app to place a cube in your domain. This cube will be the designated "Tip Jar". When a user clicks on this cube, it will prompt them to pay you 10 HFC. Move the Tip Jar to where you want it.
We need to write a script to put on the Tip Jar entity or cube. This script will do the following:
Click here to download a pre-made "Tip Jar" entity script. Follow along with the comments in the code to understand what it's doing!
You'll have to add the entity script to the Tip Jar cube entity.
tipJar.jsto match your username.
tipJar.jsscript to your domain's ATP server. In Interface, go to Edit > Asset Browser > Choose File. Right-click the script file, then select "Copy URL".
Close the 'CREATE' app and click on the Tip Jar cube entity. A window pops up, prompting you to pay 10 HFC to the username specified in the script.