This repository provides an example of how to deploy a smart contract on the Klaytn blockchain using the fee delegation mechanism with caver-js
.
Fee delegation in Klaytn allows a third party (fee payer) to cover the transaction fees instead of the sender. This can enhance the user experience by removing the need for users to hold KLAY for transaction fees.
- Node.js
- npm
caver-js
library- Klaytn account for the sender and fee payer
-
Clone this repository:
git clone https://github.com/chanderprakash20/Smart-Contract-by-deploy-on-Klaytn-by-using-the-fee-delegation-Mechanism-.git cd Smart-Contract-by-deploy-on-Klaytn-by-using-the-fee-delegation-Mechanism-
-
Install the required dependencies:
npm install caver-js