-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: erc3770 chain specific addresses (#3848)
- Loading branch information
1 parent
ca9cc60
commit 9aef2c0
Showing
7 changed files
with
2,426 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { ConverterUtil } from '../../src/erc3770/utils/ConverterUtil.js' | ||
|
||
export function convertCaip10ToErc3770(caipAddress: string): string { | ||
return ConverterUtil.convertCaip10ToErc3770(caipAddress) | ||
} | ||
|
||
export function createErc3770Address(address: string, chainId: string): string { | ||
return ConverterUtil.createErc3770Address(address, chainId) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.