Avatar for the thirdweb-dev user
thirdweb-dev
js
BlogDocsChangelog

[Feature] Add CustomPayEmbed component to pay page for chain integration

#3629Merged
Comparing
feature/implement-custom-pay-embed
(
9b2591c
) with
main
(
3f0291d
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

units:toTokens(40000000000000000000n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(40000000000000000000n, 18)
CodSpeed Performance Gauge
+3%
189.9 µs
184.6 µs
keccakId
packages/thirdweb/src/utils/any-evm/keccak-id.bench.ts::keccakId
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
units:toTokens(12345678901234567890n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(12345678901234567890n, 18)
CodSpeed Performance Gauge
0%
25.1 µs
25.1 µs
units:toUnits("40.0", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40.0", 18)
CodSpeed Performance Gauge
0%
34.1 µs
34.2 µs
units:toUnits("40", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40", 18)
CodSpeed Performance Gauge
0%
33.5 µs
33.6 µs
encode tx (json abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (json abi)
CodSpeed Performance Gauge
0%
190.7 µs
191.4 µs
encode tx (human readable)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (human readable)
CodSpeed Performance Gauge
-1%
402.3 µs
407.1 µs
encode tx (contract abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (contract abi)
CodSpeed Performance Gauge
-2%
402 µs
408.6 µs
encode tx (prepared method)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (prepared method)
CodSpeed Performance Gauge
-2%
337.7 µs
343.4 µs

Commits

Click on a commit to change the comparison range
Base
main
3f0291d
0%
[Feature] Add CustomPayEmbed component to pay page for chain integration (#3629) <!-- start pr-codex --> ## PR-Codex overview The focus of this PR is to add a custom payment embed component for a specific chain in the dashboard. ### Detailed summary - Added `CustomPayEmbed` component in `pay-embed.client.tsx` - Utilized `thirdwebClient` and `defineChain` for payment functionality - Integrated theme handling and payment options for a specific chain > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
9b2591c
11 months ago
by jnsdls
© 2025 CodSpeed Technology
Home Terms PrivacyDocs