testnet-onboarding-app/config/webpack/persistentCache/createEnvironmentHash.js
Adwait Gharpure 60c95659a0
Add support for sending cosmos transactions to laconic wallet (#12)
* Add method for sending tx to wallet

* Setup registry-sdk in onboarding app

* Build message for bond creation

* Get response on signing and broadcasting tx

* Run eject script

* Display snackbar on creating bond

* Add fallback to webpack config file

* Handle review changes

* Handle errors with snackbar
2024-07-04 11:15:18 +05:30

9 lines
172 B
JavaScript

const { createHash } = require('crypto');
module.exports = env => {
const hash = createHash('md5');
hash.update(JSON.stringify(env));
return hash.digest('hex');
};