Joystream / status-endpoint-joystream

Status endpoint for the Joystream network
GNU General Public License v3.0
1 stars 4 forks source link

Outstanding work on status endpoint #7

Closed bwhm closed 4 years ago

bwhm commented 4 years ago

Types

The most important is to update types for constantinople.

Burn

To avoid the concept of also tracking tokens yet to be burned, I would like to burn as soon as it is received. It is actually fairly easy to create a tx that includes the tip, thus allowing us to burn instantly.

  1. Import the seed for the address (receiveAddress) being monitored as a new .env
  2. Set your keypair
  3. Keep 1 joy/token in on the receiveAddress
  4. Let the incoming amount be n
    const txHash = await get.api.tx.balances
    .transfer(receiveAddress, 1)
    .signAndSend(keypair, {tip: n});
fulminmaxi commented 4 years ago

Types added in #8

Lezek123 commented 4 years ago

Done in https://github.com/Joystream/status-endpoint-joystream/pull/9