You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v1.4.0 Release Notes
Breaking Change
The caver.kas.wallet.signMessage does not support krn parameter. This function has been changed to work using the KAS user's default krn.
New Features
Adds support for KAS KIP-7 API.
Functions to use the KIP-7 API service newly provided by KAS.
caver.kas.kip7.deploy POST /v1/contract
caver.kas.kip7.getContract GET /v1/contract/{contract-address-or-alias}
caver.kas.kip7.getContractList GET /v1/contract
caver.kas.kip7.allowance GET /v1/contract/{contract-address-or-alias}/account/{owner}/allowance/{spender}
caver.kas.kip7.balance GET /v1/contract/{contract-address-or-alias}/account/{owner}/balance
caver.kas.kip7.approve POST /v1/contract/{contract-address-or-alias}/approve
caver.kas.kip7.transfer POST /v1/contract/{contract-address-or-alias}/transfer
caver.kas.kip7.transferFrom POST /v1/contract/{contract-address-or-alias}/transfer-from
caver.kas.kip7.mint POST /v1/contract/{contract-address-or-alias}/mint
caver.kas.kip7.burn POST /v1/contract/{contract-address-or-alias}/burn
caver.kas.kip7.burnFrom POST /v1/contract/{contract-address-or-alias}/burn-from
caver.kas.kip7.pause POST /v1/contract/{contract-address-or-alias}/pause
caver.kas.kip7.unpause POST /v1/contract/{contract-address-or-alias}/unpause
caver.kas.kip7.getDeployer GET /v1/deployer/default
KAS KIP-7 API is available with caver.kas.kip7 by implementing caver.initKASAPI(chainId, accessKeyId, secretAccessKey) or caver.initKIP7API(chainId, accessKeyId, secretAccessKey, url). If query parameters are required when using the KIP-7 API, they can be used through the KIP7QueryOptions class. For more scenarios in detail, refer to KAS Docs.
Now supports new functions with KAS Wallet API.
caver.kas.wallet provides a function that migrates the existing Klaytn accounts to the KAS Wallet API service.
caver.kas.wallet.migrateAccounts migrates specific Klaytn accounts to KAS Wallet API service.
Adds support for newly added API functions in KAS Wallet API.
Deleted the krn parameter to allow users to implement the function using the default krn in the caver.kas.wallet.signMessage.
Since KAS does not support querying the number of accounts by specifying the krn, the krn parameter is disabled in the caver.kas.wallet.getAccountCountByKRN function.