Skip to content

Commit 684adf8

Browse files
committed
Merge remote-tracking branch 'origin/main' into tweak/useContractQuery
2 parents 2a44272 + 1606253 commit 684adf8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2891
-489
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: Demo Build Tests
5+
6+
on:
7+
push:
8+
workflow_dispatch:
9+
merge_group:
10+
11+
jobs:
12+
unit-tests:
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [18.x]
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'yarn'
26+
- run: yarn install --immutable
27+
- run: yarn workspace demo build
28+
- run: yarn workspace demo-subconnect build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ const { connectedAccount, signer } = ... // from subconnect or talisman-connect
193193
- `useContractQuery`: Help making a contract query
194194
- `useDeployer`: Create & manage `ContractDeployer` instance given its unique id from the registered contract deployments
195195
- `useDeployerTx`: Similar to `useContractTx`, this hook provides functionality to sign and send transactions to deploy a smart contract, and tracks the progress of the transaction.
196-
- `useWallets`: Access available/installed extension wallets, helpful when building a wallet connector
197196
- `useWatchContractEvent`: Help watch for a specific contract event and perform a specific action
198197
- `usePSP22Balance`: Fetch balance of an address from a PSP22 contract with ability to watch for balance changing
199198

@@ -214,6 +213,7 @@ const {
214213
connectedWallet, // connected wallet
215214
connectWallet, // func to connect to a wallet given its id
216215
disconnect, // func to sign out and disconnect from the wallet
216+
wallets, // available wallets
217217
...
218218
} = useTypink();
219219
// ...

assets/networks/alephzero.svg

Lines changed: 12 additions & 0 deletions
Loading

assets/networks/astar.png

14.5 KB
Loading

assets/networks/pop-network.svg

Lines changed: 28 additions & 0 deletions
Loading

assets/networks/shiden.png

17.6 KB
Loading
Lines changed: 21 additions & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)