You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/base-chain/quickstart/builder-codes.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ Wallet providers need to support the `dataSuffix` capability to enable attributi
216
216
Onchain Builder codes are currently still not live on mainnet.
217
217
</Warning>
218
218
219
-
Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-solana-bridge) via the `hookData` mechanism. Currently available for **Solana → Base** flows only.
219
+
Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-solana-bridge) via the [`hookData`](https://github.com/base/flywheel/blob/30266bba4649b0eb161e55bfa4755651049a5d1f/src/hooks/BridgeReferralFees.sol#L75) mechanism. Currently available for **Solana → Base** flows only.
220
220
221
221
<Steps>
222
222
<Steptitle="Get your Builder Code">
@@ -229,7 +229,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
229
229
```solidity
230
230
bytes memory hookData = abi.encode(
231
231
0xUSER, // destination address on Base (NOT the Twin)
232
-
0xBUILDER_CODE, // your bytes32 code
232
+
0xBUILDER_CODE, // your builder code in type string memory
233
233
100 // feeBps (100 = 1%)
234
234
);
235
235
```
@@ -270,7 +270,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
270
270
data: abi.encodeWithSelector(
271
271
Flywheel.send.selector,
272
272
<BRIDGE_CAMPAIGN_ADDRESS>,
273
-
<wSOL_ADDRESS>, // 0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82 on Base Mainnet
273
+
<SOL_ADDRESS>, // 0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82 on Base Mainnet
274
274
hookData
275
275
)
276
276
});
@@ -301,7 +301,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
301
301
## Give feedback!
302
302
303
303
<Note>
304
-
We're constantly working to improve the Builder Codes experience. If you have any feedback, please let us know [here](https://t.co/zwvtmXXzGz).
304
+
Base is constantly working to improve the Builder Codes experience. If you have any feedback, please let the team know [here](https://t.co/zwvtmXXzGz).
0 commit comments