Skip to content

Commit

Permalink
feat: change wallet name to Portkey
Browse files Browse the repository at this point in the history
  • Loading branch information
aelf-lxy committed Oct 9, 2024
1 parent 4b11962 commit 7144842
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/example/src/components/CallContract.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function CallContract() {
AELF: {
method: 'ManagerTransfer',
params: {
caHash: wallet.portkeyInfo.caInfo.caHash,
caHash: wallet?.portkeyInfo?.caInfo?.caHash,
symbol: 'ELF',
amount: '10000000',
to: 'GyQX6t18kpwaD9XHXe1ToKxfov8mSeTLE9q9NwUAeTE8tULZk',
Expand All @@ -117,7 +117,7 @@ export default function CallContract() {
tDVW: {
method: 'ManagerTransfer',
params: {
caHash: wallet.portkeyInfo.caInfo.caHash,
caHash: wallet?.portkeyInfo?.caInfo?.caHash,
symbol: 'ELF',
amount: '15000000',
to: 'GyQX6t18kpwaD9XHXe1ToKxfov8mSeTLE9q9NwUAeTE8tULZk',
Expand Down
2 changes: 1 addition & 1 deletion packages/login/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aelf-web-login",
"version": "2.1.8",
"version": "2.1.9",
"main": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/login/src/wallets/discover/DiscoverPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ export default function DiscoverPlugin({
onClick={onClickButton}
/>
) : (
<PluginEntry name={'Portkey Wallet'} icon={'discoverV2'} onClick={onClickButton} />
<PluginEntry name={'Portkey'} icon={'discoverV2'} onClick={onClickButton} />
);
}
2 changes: 1 addition & 1 deletion packages/login/src/wallets/elf/NightElfPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ export default function NightElfPlugin({ onClick }: { onClick: () => void }) {
onClickInternal();
}
};
return <PluginEntry icon="elf" name="aelf Wallet" onClick={onClickButton} />;
return <PluginEntry icon="elf" name="NightElf" onClick={onClickButton} />;
}

0 comments on commit 7144842

Please sign in to comment.