You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This feature will eventually be used as part of a referral program, providing new users with a small amount of currency.
Describe the solution you'd like
Create a new function that sends a small amount of cryptocurrency to new users from the server.
A few helpful guidelines are listed below.
Set up a wallet that the server can access. This will require a new mnemonic seed, which can be stored as an environment variable.
Initiate a provider to broadcast the transaction.
Use these methods to build and send the transfer transaction.
The function should take three arguments: amount, recipient address, and currency ticker.
Throw an error if the currency type is not supported.
The payment will be made in the base network currency (e.g., eth, sol, etc.), not tokens. This simplifies development.
Keep in mind this function will only be called on the server.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
This feature will eventually be used as part of a referral program, providing new users with a small amount of currency.
Describe the solution you'd like
Create a new function that sends a small amount of cryptocurrency to new users from the server.
A few helpful guidelines are listed below.
Keep in mind this function will only be called on the server.
The text was updated successfully, but these errors were encountered: