Skip to content

Commit

Permalink
wip: fuzd example
Browse files Browse the repository at this point in the history
  • Loading branch information
wighawag committed Oct 27, 2023
1 parent f25e4b1 commit e8008b9
Show file tree
Hide file tree
Showing 12 changed files with 758 additions and 153 deletions.
130 changes: 127 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions web/.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ PUBLIC_ETH_NODE_URI=

# Can specify a block time for localhost
PUBLIC_LOCALHOST_BLOCK_TIME=${BLOCK_TIME}

PUBLIC_FUZD_URI=http://127.0.0.1:34002/
4 changes: 4 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@
"@types/lodash-es": "^4.17.10",
"ethereum-indexer-browser": "^0.6.10",
"ethereum-tx-observer": "^0.0.3",
"fuzd-executor": "^0.1.5",
"fuzd-scheduler": "^0.1.5",
"jolly-roger-common": "workspace:*",
"jolly-roger-indexer": "workspace:*",
"lodash-es": "^4.17.21",
"named-logs": "^0.2.2",
"radiate": "^0.0.1",
"remote-account": "^0.0.4",
"theme-change": "^2.5.0",
"tlock-js": "^0.7.0",
"viem": "^1.16.6",
"web3-connection": "^0.1.8",
"web3-connection-viem": "^0.0.1"
Expand Down
4 changes: 2 additions & 2 deletions web/src/lib/account/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type AccountFunctions<AccountData, Action> = {
data: AccountData,
tx: EIP1193TransactionWithMetadata,
hash: `0x${string}`,
inclusion?: 'Broadcasted'
inclusion?: 'Broadcasted',
) => Action;
};

Expand All @@ -35,7 +35,7 @@ export function initAccount<AccountData, Action>({
for (const actionData of actionsData) {
const pending_transaction: PendingTransaction = fromActionToPendingTransactions(
actionData.hash,
actionData.action
actionData.action,
);
pending_transactions.push(pending_transaction);
}
Expand Down
Loading

0 comments on commit e8008b9

Please sign in to comment.