Skip to content

Connect your Twitter profile with your NEAR crypto wallet and send donations to any other Twitter user

License

Notifications You must be signed in to change notification settings

dapplets/tipping-dapplet

Repository files navigation

image

Tipping NEAR Dapplet

Tipping NEAR Dapplet is a dapplet (an augmentation module for Dapplets browser extension) that can connect your X and GitHub profiles with your NEAR crypto wallet and send donations to any other X and GitHub users. Your own tweets and comments can also receive donations from others.

This dapplet works as a tool for community managers, helping them to motivate and evolve community members. Useful or important tweets, pull requests and comments can now be rewarded financially.

Disclaimer

Tipping dapplet allows you to donate NEAR tokens to X and GitHub users. It charges an extra fee of 3% on each donation and 0.002 NEAR as one time fee for linking an accounts.

Dapplet is designed to work in desktop Chromium browser. Working in the mobile browser is not guaranteed.

Video Tutorial

Browser extension installation guide

For Microsoft Edge Browser

  1. Extension can be found and installed through the extension store.

image

  1. Search for 'Dapplets' or use this link

image

For Google Chrome Browser
  1. Open the Google Chrome browser.

  2. Download the Dapplet Browser Extension.

  3. Open chrome://extensions in a new tab.

    image

  4. Switch the Developer mode on and press F5 to refresh the page.

    image

P.S. If you are using Ubuntu or possibly another Linux OS the Dapplets extension can disappear from the Chrome Extensions after restarting the PC. To avoid this unzip the archive and use the Load unpacked button to add the extension.

image

image

Run the Tipping Dapplet

This is the workflow for X. The same for GitHub.

Open the X page

This Dapplet is created especially for x.com. Please go to the X website and click on the extension icon to open the Dapplets Extension.

  1. Click on the extension. Click mustache button to open the list of dapplets.

    image

  2. Find Tipping NEAR Dapplet in the list of dapplets.

  3. Click on the switch to activate it.

    image

Now the dapplet is turned on. You will see two new icons in your X profile.

image

The first icon shows the number of NEAR tokens that were donated to you, but which you have not received, as you have not yet connected your X account to NEAR. If you click on this icon you will see the following message: «You must link NEAR account before continue». To link our account let’s go to the second icon.

The second icon shows if your X account is connected to NEAR. If you click on the icon you will see the following message:

image

This means that to connect your account you need to type yourname.near next to your name.

Yourname.near connection

Now we will connect your X profile to your NEAR account.

  1. Click Edit Profile on your X profile page

  2. Under name add your yourname.near profile. You will receive tokens to this address. image

  3. Click Save

  4. Now that you’ve added your NEAR account name click Link (the second new icon in your X Profile). An overlay will open. image

  5. Now lets use NEAR Wallet you entered in profile earlier image

  6. A Near near wallet page will open. Press Next and Connect to proceed to transaction. image

    image

  7. You will be asked to transfer 0.002 NEAR. This amount is required as a GAS fee for the oracle. This is necessary for the connection to be successful. Click Approve to accept. image

Go back to your X Profile page. There, the Link icon has changed to:

image

This is temporary, when the transaction is completed successfully the icon will change again:

image

Done, your X account is now linked to Yournamen.near account.

⚠ Now you can delete the name of your NEAR wallet from X profile username.

Accepting donated tokens

If you already have tokens that were donated to you by other users, you can collect them by clicking:

image

The button will show how many tokens were donated to you at the moment, which you have not yet collected.

When you click on the button a new page will open.

image

Click Allow to accept the tokens donated to you.

After this tokens will be transfered to your account. Claim button will disappear and all new tips will automatically be sent to your linked account.

Donating tokens to other users

Look at the new icon that is now displayed next to any post, yours, or any other user’s:

image

This icon has two functions:

  1. Displaying the number of NEAR tokens you were given or that you yourself have donated.
  2. Donating NEAR tokens to a post.

Every click on the button increases the total donation by 0.05 NEAR. The transaction has a delay, which allows you to click several times to increase the donation. You can try sending yourself some tokens to see how it works.

Choose one of your own tweets, and donate a few tokens to yourself. When you do this, a wallet page will open:

image

Click Allow and the tokens will be sent. The counter will increase by the number of tokens you have donated. The maximum amount you can donate in one transaction is equal to 1 token. The maximum per one post - 10 tokens.

Increasing the default tipping amount

At this moment, one click, or as we call it - step, is equal to 0.05 tokens. For your convenience, we’ve added the ability to change this number, higher or lower.

To do this, please follow the instructions below:

  1. Click on Dapplets Extension
  2. Find Tipping NEAR Dapplet
  3. Click on the Gear Wheel

image

  1. Settings will open. Here you can change Donation increase step.

image

Contacts

Web Docs GitHub Discord Telegram

About

Connect your Twitter profile with your NEAR crypto wallet and send donations to any other Twitter user

Resources

License

Stars

Watchers

Forks