mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-27 10:28:01 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { decodeAddress } from './decode.js';
|
||||
/**
|
||||
* @name addressToEvm
|
||||
* @summary Converts an SS58 address to its corresponding EVM address.
|
||||
*/
|
||||
export function addressToEvm(address, ignoreChecksum) {
|
||||
return decodeAddress(address, ignoreChecksum).subarray(0, 20);
|
||||
}
|
||||
Reference in New Issue
Block a user