Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Separate dev and build sites for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentRhetoric committed Sep 25, 2023
1 parent f050be5 commit 37716fd
Show file tree
Hide file tree
Showing 64 changed files with 1,513 additions and 2,087 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ The library is configured using environment variables from a .env file in the pr
- Block explorer base URL to construct explorer links for each network. Supports AlgoExplorer and Dappflow linking.
- Project ID, Project Name, Project Description, Project URL, and Project ICON for the Dapp's project on WalletConnect

### useWallet
### UseSolidAlgoWallets

The `useWallet` function returns a reactive root that provides the active wallet/metadata/address, methods to connect/reconnect/disconnect wallets, and a `transactionSigher` function that enables signing transactions with the connected wallet.
The `UseSolidAlgoWallets` function returns a reactive root that provides the active wallet/metadata/address, methods to connect/reconnect/disconnect wallets, and a `transactionSigher` function that enables signing transactions with the connected wallet.

### useNetwork
### UseNetwork

The `useNetwork` function returns a reactive root that provides an alogd client for the selected network, as well as helpful functions to create URLs for block explorer linking.
The `UseNetwork` function returns a reactive root that provides an alogd client for the selected network, as well as helpful functions to create URLs for block explorer linking.

## Design Decisions

Expand All @@ -113,7 +113,7 @@ The library is designed to manage state globally using SolidJS reactive roots on

This design was chosen both for simplicity and also because truly decentralized web apps should allow users to use the client without dependency on a back-end server. These wallet interfaces should be managed on the client so that an end user can download and install a web app locally and continue using it even if the host server becomes unavailable.

> Note that this approach is not suitable for apps which utilize server-side rendering (SSR) and _will_ cause problems. It may be possible to provide the reactive roots to a context provider, but this is untested.
> Note that this approach is not suitable for Solid Start apps which utilize server-side rendering (SSR) and _will_ cause problems. It may be possible to provide the reactive roots to a context provider, but this is untested as yet.
### Additional Resources

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-algo-wallets",
"version": "0.0.7",
"version": "0.0.8",
"description": "Integrate multiple Algorand wallets with a SolidJS web application client",
"license": "MIT",
"author": "Brian Whippo <[email protected]>",
Expand All @@ -23,7 +23,8 @@
"exodus",
"ledger",
"walletconnect",
"algokit"
"algokit",
"metamask"
],
"files": [
"dist"
Expand Down
Loading

0 comments on commit 37716fd

Please sign in to comment.