0.3.0 • Published 9 months ago

@peaze-labs/react v0.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Getting started

  1. Run npm install.
  2. Run npm run dev.

Testing

  1. Open localhost:6006 in your browser.
  2. In the left-hand menu you'll see the path Tests>wagmi>App>Default. Open this and you'll be able to use the test application.

Third party testing

  • For testing Ratio, you'll need specific info and setup. Please contact the team.

Demo

On Goerli, we use MockUSDC contract. To mint this token, go to Etherscan, and use mint() function to mint any amount of tokens as you need.

To test the Deposit ERC20 flow, you should Approve your USDC first, and then Deposit USDC into the contract. Each on-chain interaction will show our checkout widget.

Currently, Deposit Native Token flow is using viem's writeContract method directly, so we don't get a simulate error in advance (as ticked in PZ-388, e.g. when the wallet doesn't have enough ETH balance), but Alchemy simulation API is still blocking it.

How to use changesets

Check out documentation: https://github.com/changesets/changesets/blob/main/docs/intro-to-using-changesets.md#adding-changesets

Adding changesets

npx changeset

Versioning and publishing

npx changeset version
0.4.10

9 months ago

0.4.9

9 months ago

0.4.8

9 months ago

0.4.11

9 months ago

0.4.5

10 months ago

0.4.4

10 months ago

0.4.7

10 months ago

0.4.6

10 months ago

0.4.3

10 months ago

0.4.2

10 months ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.0

1 year ago