The next mainnet followed by Bitcoin and Ethereum is Klaytn. Klaytn is the platform which is developed by Ground X, the mother company of Kakao. Klaytn provides 51 services in 15 countries.
Users can use the coins from Klaytn and transfer them via Planet Wallet. Transactions from Klaytn are divided into several types. The transfer fee could be paid from the sender's account but it could be also passed to another acount.
If you send Klaytn via Planet Wallet, we provide several options on the payment. The options are as follow: You can pay the transfer fee, the recipient can pay the transfer fee, or both parties can pay the fee by the agreed ratio. Of course, there could be even more different options, but Planet wallet will provide previous 3 options.
Klaytn's transactions are divided into 5 types(except 1 special transactions) depends on the purposes. Also Klaytn supports 3 ways of fee payment. You can check 15(5*3)+1 different types of transactions in Klaytn.
The types of transactions depends on the purposes
Value Transfer & Memo
Smart Contract Deploy
Chain Data Anchor
There is 'Value Transfer' transaction which transfer Klay. And there is also 'Memo' type which can add data at input. Besides there are 'Smart Contract Deploy' and 'Execution'. Also, Klaytn supports the function that could connect to account key. For this function, there is 'Account Update' type. Additionally, Klaytn offers cancel function for transaction loss and pending transactions. For this function, there is 'Cancel' type.
The types of transactions depends on the way of fee payment
Partial Fee Delegation
Senders who request to send transactions have a duty to pay the transaction fee except the sending information(Value, Memo, and Smart Contract). That is to provide financial support for miners to keep the current mainnet. Normally the sender has the duty of fee payment. However, Klaytn offers options in fee payment. The Basic is the conventional way that senders pay 100% of fee. The Fee Delegation is that sender chooses FeePayer who will pay 100% of fee. For the last, there is Partial Fee delegation which can share the fee partially between sender and feepayer.
Fee Delegation function
At Klaytn, the transaction fee can be paid by not only senders but also other participants(FeePayer). It has the same Fee system as Ethereum's fee system, but it has more options for the usage. Fee Delegation function includes not only full fee delegation option but also partial fee delegation option as well. The choice of FeePayer from sender could be every account holders except receiver. But, the requirement of FeePayer in Planet Wallet is the Feepayer should be a user of Planet Wallet.
When the sender uses Fee Delegation function, the gas limit is higher than normal gas limit.(It means higher fee.) Basically, the gas limit is set as 21000 under the assumption that there is no additionally data. But when the users use fee delegation function, the gas limit is 31000 when a feepayer make a full payment, or the gas limit is 36000 when the fee is payed partially.
The final transactions of fee delegations are 1.5 times longer than the normal transactions. The reason why is that final confirmed transaction should include at least 2 signatures. The transaction is finally perfectly done when the signatures from sender and feepayer are verified. In other words, the submitter of final transaction is likely to be feepayer, because the feepayer's signature should contain the sender's signature.
At Planet Wallet, it is possible to look up the users of Klaytn via PAMS(it works only for the users of Planet Wallet) and to ask them the fee delegation. The feepayer can submit the transaction after the simple identity verification.
Planet wallet offers two options of Klaytn transfer. The users will not notice the technical differences of these two options.
The option that sender makes a full payment of fee(type: 0x08, 0x30)
The option that there is another feepayer(type: 0x09, 0x10, 0x31, 0x32)
Number 1 option is the way that the sender makes a full payment of fee which is mostly simliar with the conventional way of Ethereum. The transactions with the sender's signature is delivered to the node and the node manages the transaction.
Sender write the content of transaction and then signature of it. The transaction with signature will be delivered to API server and verified. Then the transaction will be back to the node.
Number 2 option is the way that sender request the fee delegation.
The sender passes the transaction with his/her signature via Planet wallet's API server, and the nominated feePayer will receive the message via FCM. If the feePayer accept the request, the transaction will be submitted. The result of it will be delivered to all participants of the transaction.