Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: not supporting ue 5.3 (fix #341) #54

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
with:
repository: cronos-labs/play-unreal-plugin
path: simple/Plugins/play-unreal-plugin
ref: main

- name: Build play-unreal-plugin repo
run: |
Expand Down Expand Up @@ -91,6 +92,7 @@ jobs:
with:
repository: cronos-labs/play-unreal-plugin
path: Metaverse/Plugins/play-unreal-plugin
ref: main

- name: Build play-unreal-plugin repo
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ void UDefiWalletCoreComponent::Setup() {
return;
}
_DefiWalletCore = DefiWalletCore;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ APlayCppSdkActor *UWalletConnectTriggerComponent::Setup() {
std::string userwalletnamespace =
"{\"eip155\":{\"methods\":[\"eth_sendTransaction\",\"eth_"
"signTransaction\",\"eth_sign\",\"personal_sign\",\"eth_"
"signTypedData\"],\"chains\":[\"eip155:5\"],\"events\":["
"signTypedData\"],\"chains\":[\"eip155:338\"],\"events\":["
"\"chainChanged\",\"accountsChanged\"]}}";
std::string userclientmeta=
"{\"description\":\"Defi WalletConnect v2 "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ void ASendEthTransaction::OnSendEthTransactionBeginOverlap(
&ASendEthTransaction::OnWalletconnectSendEip155TransactionFinished);

FWalletConnectTxEip155 tx;
tx.to = FString("0xA914161b1b8d9dbC9c5310Fc7EBee5A5B18044b7");
tx.value = FString("1000000000000000000");
tx.from = FString(std::getenv("MY_FROM_ADDRESS"));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

tx.to = FString(std::getenv("MY_TO_ADDRESS"));
tx.value = FString("10000"); // wei
WalletConnectTriggerComponent->SendEip155Transaction(tx);

WalletConnectTriggerComponent->OnShowQR.BindDynamic(this, &Super::ShowQR);
Expand Down