Simple easy-to-use factory etherscan interface for locking up tokens.
Go here: https://etherscan.io/address/0xf30952df6c0216eac763c35d34b8f8c6209c0a65#writeContract
You'll see three parameters you will need to come up with. They're pretty straightforward though.
recipient
: the recipient's addressstartVestingInThisManySeconds
: This is verbose on purpose!. If you want the vesting to begin now, set this to 0.vestForThisManySeconds
: how long the vesting should last, in seconds, once it has begun.
The only tricky part is calculating things in terms seconds. Here's an example of how you would calculate two years.
60*60*24*365*2=63,072,000.
Great, you've entered the values. Hit the "connect to web3" prompt. Once you're connected, send off the tx! You'll probably want to use the "fast" gas setting.
After the tx has been sent, a new button labeled "view your transaction" should appear. Click on that. Wait for mining.
Once the transaction has been mined, click on the "Logs" tab at the top. You should see two events. Look for the one named TokenVestingDeployed
, and find the first argument. It should be called location
. That is the address of the vesting contract. You can click on it to be brought there. You'll know you're in the right place if you end up on a contract page, and it has no past txs.
Great! You've found the address of your newly deployed vesting contract! Send the RSR you would like vested to this address, in a normal RSR transfer.
The beneficiary will need to interact with the newly deployed vesting contract in order to retrieve their RSR at the end of the vesting period, though not necessarily from the same address. Intermediate withdrawals are also allowed. Copy the etherscan URL and send it to them, along with the following instructions:
When the vesting period is over, you may withdraw your RSR by interacting with this contract on etherscan: <INSERT ETHERSCAN URL>. You'll need a metamask account, or another web3 wallet, to interact with the blockchain. You can check how many tokens are available for withdrawal at any time by clicking on "Contract" -> "Read Contract", and using the `releasable` function, providing the RSR token address (0x320623b8e4ff03373931769a31fc52a4e78b5d70) as an argument. If you would like to perform the actual withdrawal, go to "Contract" -> "Write Contract", and call the `release` function, also passing in the RSR contract address.