Skip to content

Commit

Permalink
feat: update index file and simplify zk send transaction request model
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Oct 4, 2023
1 parent 7531833 commit d1fe958
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 37 deletions.
2 changes: 0 additions & 2 deletions sample/Assets/Scripts/AuthenticatedScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,9 @@ public async void SendZkTransaction()
try
{
ShowOutput($"Called sendTransaction()...");
List<string> accounts = await passport.ZkEvmRequestAccounts();
string? response = await passport.ZkEvmSendTransaction(new TransactionRequest()
{
To = zkSendTransactionTo.text,
From = accounts[0],
Value = zkSendTransactionAmount.text,
Data = zkSendTransactionFunctionSignature.text

Expand Down
Loading

0 comments on commit d1fe958

Please sign in to comment.