Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klaytn/canonical-wklay
Standard for wrapped KLAY for dapps
https://github.com/klaytn/canonical-wklay
Last synced: 30 days ago
JSON representation
Standard for wrapped KLAY for dapps
- Host: GitHub
- URL: https://github.com/klaytn/canonical-wklay
- Owner: klaytn
- License: gpl-3.0
- Created: 2022-10-27T00:49:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-08T03:58:19.000Z (about 2 years ago)
- Last Synced: 2024-09-02T18:39:16.797Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 340 KB
- Stars: 3
- Watchers: 9
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-klaytn - GitHub - wklay) Standard for wrapped KLAY for dapps. (Useful Packages)
README
# Canonical W-KLAY
The lack of canonical wklay has caused friction for dApp users to wrap and unwrap when moving between dApps.
In the interest of standardisation across dApps and safer smart contract coding conventions, we created this standard for wrapped klay. We want our partners also to join us in utilising this shared implementation of wklay so that its easy to be used across dApps.
## Usage
```sh
npm install --save truffle-contract canonical-wklay
```and
```js
const contract = require('truffle-contract');
const wklayArtifact = require('canonical-wklay');const wklay = contract(wklayArtifact);
```## Deployed contract addresses
- Mainnet - Cypress: [0x19Aac5f612f524B754CA7e7c41cbFa2E981A4432](https://scope.klaytn.com/account/0x19Aac5f612f524B754CA7e7c41cbFa2E981A4432?tabId=internalTx)
- Testnet - Boabab: [0x043c471bEe060e00A56CcD02c0Ca286808a5A436](https://baobab.scope.klaytn.com/account/0x043c471bEe060e00A56CcD02c0Ca286808a5A436?tabId=internalTx)