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
Supported 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 the query parameters are required when using the KIP-7 API, it can be used through caver.kas.kip7.queryOptions. For more scenarios in detail, refer to KAS Docs.
Supported Fee Payer 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. (#117)
Since KAS does not support inquiring the number of accounts by specifying krn, the krn parameter is disabled in the caver.kas.wallet.getAccountCountByKRN function. (#117)