Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/base-chain/quickstart/builder-codes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Wallet providers need to support the `dataSuffix` capability to enable attributi
Onchain Builder codes are currently still not live on mainnet.
</Warning>

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.
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.

<Steps>
<Step title="Get your Builder Code">
Expand All @@ -229,7 +229,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
```solidity
bytes memory hookData = abi.encode(
0xUSER, // destination address on Base (NOT the Twin)
0xBUILDER_CODE, // your bytes32 code
0xBUILDER_CODE, // your builder code in type string memory
100 // feeBps (100 = 1%)
);
```
Expand Down Expand Up @@ -270,7 +270,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
data: abi.encodeWithSelector(
Flywheel.send.selector,
<BRIDGE_CAMPAIGN_ADDRESS>,
<wSOL_ADDRESS>, // 0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82 on Base Mainnet
<SOL_ADDRESS>, // 0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82 on Base Mainnet
hookData
)
});
Expand Down Expand Up @@ -301,7 +301,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
## Give feedback!

<Note>
We're constantly working to improve the Builder Codes experience. If you have any feedback, please let us know [here](https://t.co/zwvtmXXzGz).
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).
</Note>


Expand Down