nearfundocs
The NearFun handbook
SPECIFICATION · 40

Transaction Pipeline

NearFun master specification

Centralize transaction behavior.

Suggested structure:

src/lib/solana/
connection.ts
tokens.ts
amounts.ts
balances.ts
src/lib/nearfun/
constants.ts
config.ts
verifyNearQuoteAsset.ts
launchState.ts
launchService.ts
src/lib/pump/
sdk.ts
create.ts
buy.ts
sell.ts
feeSharing.ts
fees.ts
graduation.ts
pumpSwap.ts
src/lib/transactions/
build.ts
simulate.ts
send.ts
confirm.ts
errors.ts

Do not build Pump transactions directly inside React components.

NearFun documentation