Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

Payments.hs
{-# LANGUAGE TemplateHaskell #-}

module Aftok.Currency.Zcash.Payments where

import Aftok.Currency.Zcash.Types (Zatoshi)
import Control.Lens (makeLenses, makePrisms)

newtype TxId = TxId Text

makePrisms ''TxId

data Payment
  = Payment
      { _amount :: Zatoshi,
        _txid :: TxId
      }

makeLenses ''Payment