Releases: OffchainLabs/arbitrum-orbit-sdk
Releases · OffchainLabs/arbitrum-orbit-sdk
v0.12.0
What's Changed
- Fixed an issue with
createTokenBridgePrepareSetWethGatewayTransactionRequest
where networks weren't registered prior to doing gas estimation with Arbitrum SDK (@chrstph-dvx in #82) - Added
getArbOSVersion
for fetching ArbOS version (@chrstph-dvx in #83) - Added
getClientVersion
for fetching node client version (@spsjvc in #84)
Full Changelog: v0.11.1...v0.12.0
v0.11.1
v0.11.0
What's Changed
- Made Beacon RPC URL required for L2 chains in
prepareNodeConfig
(@TucksonDev in #76) - Made ArbOS 20 the default (@TucksonDev in #78)
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
- Added a high level abstraction for
createRollup
(@fionnachan in #68) - Added a high level abstraction for
createTokenBridge
(@chrstph-dvx in #67) - Fixed an issue with networks not being properly registered inside the Arbitrum SDK (@chrstph-dvx in #72)
Full Changelog: v0.9.1...v0.10.0
v0.9.1
v0.9.0
What's Changed
We added actions for the ArbOwner
, ArbOwnerPublic
and ArbGasInfo
precompile contracts (@GreatSoshiant, @spsjvc in #6).
You can utilize these actions by extending an existing PublicClient
, for example:
// create a public client for your orbit chain
const publicClient = createPublicClient({
chain: orbitChain,
transport: http(),
})
.extend(arbOwnerPublicActions)
.extend(arbGasInfoPublicActions);
// add a chain owner through ArbOwner
const addChainOwnerTransactionRequest = await client.arbOwnerPrepareTransactionRequest({
functionName: 'addChainOwner',
args: [address],
// if an upgrade executor is the chain owner, provide the address of said upgrade executor
// if not, you can set this parameter to false
upgradeExecutor: upgradeExecutorAddress,
account,
});
// read the infra fee receiver through ArbOwnerPublic
const infraFeeReceiver = await client.arbOwnerReadContract({
functionName: 'getInfraFeeAccount',
});
// read l1 base fee estimate inertia through ArbGasInfo
const l1BaseFeeEstimateInertia = await client.arbGasInfoReadContract({
functionName: 'getL1BaseFeeEstimateInertia',
});
See more examples here and here.
Full Changelog: v0.8.3...v0.9.0
v0.8.3
What's Changed
- Fixed an issue where networks weren't properly registered before calls to the Arbitrum SDK (@chrstph-dvx in #65)
Full Changelog: v0.8.2...v0.8.3
v0.8.2
v0.8.1
What's Changed
- Added Holesky factory contracts (@chrstph-dvx in #62)
New Contributors
- @chrstph-dvx made their first contribution in #62
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- Added utilities for WETH gateway registration (@TucksonDev in #44)
- Updated
NodeConfig
for Nitro v2.3.0 (@spsjvc in #58)
Internal
- Cleaned up parent chain validation and added factory getters (@douglance, @spsjvc in #32)
New Contributors
- @douglance made their first contribution in #32
Full Changelog: v0.7.0...v0.8.0