ethers.js/packages/solidity/README.md

32 lines
707 B
Markdown
Raw Permalink Normal View History

2019-05-14 18:25:46 -04:00
Solidity Packed-Encoding Utilities
==================================
This sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).
2019-05-14 18:25:46 -04:00
It contains functions to perform Solidity-specific packed (i.e. non-standard)
encoding operations.
2019-05-14 18:25:46 -04:00
For more information, see the [documentation](https://docs.ethers.io/v5/api/utils/hashing/#utils--solidity-hashing).
Importing
---------
Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
but for those with more specific needs, individual components can be imported.
```javascript
const {
pack,
keccak256,
sha256
} = require("@ethersproject/solidity");
```
2019-05-14 18:25:46 -04:00
License
-------
MIT License