Skip to content

Commit

Permalink
lint + readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CedarMist committed Jun 17, 2024
1 parent 50f6290 commit aab5683
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ This monorepo includes the source code for the following Sapphire packages:

| Sub-Project | Version | Size | Downloads |
| ----------------------------------------- | ---------------------------------------------- | ------------------------------------------------- | --------------------------------- |
| [TypeScript client][client-npm] | [![version][client-version]][client-npm] | [![size][client-size]][client-bundlephobia] | ![downloads][client-downloads] |
| [Go client][go-pkg] | [![version][go-version]][go-pkg] | | |
| [Solidity smart contracts][contracts-npm] | [![version][contracts-version]][contracts-npm] | | ![downloads][contracts-downloads] |
| [Hardhat plugin][hardhat-npm] | [![version][hardhat-version]][hardhat-npm] | [![size][hardhat-size]][hardhat-bundlephobia] | ![downloads][hardhat-downloads] |
| [Ethers 6.x support][ethers-v6-npm] | [![version][ethers-v6-version]][ethers-v6-npm] | [![size][ethers-v6-size]][ethers-v6-bundlephobia] | ![downloads][ethers-v6-downloads] |
| [Wagmi 2.x support][wagmi-v2-npm] | [![version][wagmi-v2-version]][wagmi-v2-npm] | [![size][wagmi-v2-size]][wagmi-v2-bundlephobia] | ![downloads][wagmi-v2-downloads] |
| [Viem 2.x support][viem-v2-npm] | [![version][viem-v2-version]][viem-v2-npm] | [![size][viem-v2-size]][viem-v2-bundlephobia] | ![downloads][viem-v2-downloads] |
| [TypeScript][client-npm] | [![version][client-version]][client-npm] | [![size][client-size]][client-bundlephobia] | ![downloads][client-downloads] |
| [Go][go-pkg] | [![version][go-version]][go-pkg] | | |
| [Solidity][contracts-npm] | [![version][contracts-version]][contracts-npm] | | ![downloads][contracts-downloads] |
| [Hardhat][hardhat-npm] | [![version][hardhat-version]][hardhat-npm] | [![size][hardhat-size]][hardhat-bundlephobia] | ![downloads][hardhat-downloads] |
| [Ethers 6.x][ethers-v6-npm] | [![version][ethers-v6-version]][ethers-v6-npm] | [![size][ethers-v6-size]][ethers-v6-bundlephobia] | ![downloads][ethers-v6-downloads] |
| [Wagmi 2.x][wagmi-v2-npm] | [![version][wagmi-v2-version]][wagmi-v2-npm] | [![size][wagmi-v2-size]][wagmi-v2-bundlephobia] | ![downloads][wagmi-v2-downloads] |
| [Viem 2.x][viem-v2-npm] | [![version][viem-v2-version]][viem-v2-npm] | [![size][viem-v2-size]][viem-v2-bundlephobia] | ![downloads][viem-v2-downloads] |


[go-pkg]: https://pkg.go.dev/github.com/oasisprotocol/sapphire-paratime
Expand Down
6 changes: 5 additions & 1 deletion clients/js/scripts/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import { createServer, IncomingMessage, ServerResponse } from 'node:http';

import { formatEther, toBigInt, Transaction } from 'ethers';

import { Envelope, EnvelopeError, getBytes } from '@oasisprotocol/sapphire-paratime';
import {
Envelope,
EnvelopeError,
getBytes,
} from '@oasisprotocol/sapphire-paratime';

import { decode as cborgDecode } from 'cborg';

Expand Down
4 changes: 2 additions & 2 deletions examples/wagmi-v1/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ function App() {
const [writeTxHash, setWriteTxHash] = useState<undefined | `0x${string}`>();
const [readResult, setReadResult] = useState<bigint | undefined>();
const publicClient = usePublicClient()!;
const [deployReceipt,setDeployReceipt] = useState<TransactionReceipt|undefined>(); // = waitForTransaction({ hash: deployHash, confirmations: 1 });
const [deployReceipt,setDeployReceipt] = useState<TransactionReceipt|undefined>();

const [writeReceipt,setWriteReceipt] = useState<TransactionReceipt|undefined>(); // = waitForTransaction({ hash: writeTxHash, confirmations: 1 });
const [writeReceipt,setWriteReceipt] = useState<TransactionReceipt|undefined>();

const { data: writeTxInfo } = useTransaction({hash: writeReceipt?.transactionHash});

Expand Down

0 comments on commit aab5683

Please sign in to comment.