Releases: OffchainLabs/arbitrum-orbit-sdk
Releases · OffchainLabs/arbitrum-orbit-sdk
v0.7.0
What's Changed
- Added auto-generated
NodeConfig
type with all config parameters (@spsjvc in #38) - Added option to override the RollupCreator and TokenBridgeCreator factory addresses (@spsjvc in #56)
- Removed
createRollup
(@spsjvc in #57)- You should switch to using
createRollupPrepareTransactionRequest
andcreateRollupPrepareTransactionReceipt
together to achieve the same behaviour
- You should switch to using
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
NodeConfig
- Set
node.delayed-sequencer.finalize-distance=1
for fast deposits (@TucksonDev in #53)
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
ArbOS 11
All new chains will be deployed with ArbOS 11 enabled. Since ArbOS 11 only works with versions of Nitro higher than v2.2.2, the structure of the node config file is also updated to be compatible with those versions.
- Made ArbOS 11 the default (@spsjvc in #36)
- Updated node config for Nitro v2.2.x (@TucksonDev in #45)
Create Rollup
- Added additional sanity checks for create rollup transaction request (@spsjvc in #25)
- Added
createRollupFetchTransactionHash
for fetching the create rollup tx hash from the rollup address (@TucksonDev in #30)
Create Token Bridge
This release adds various utilities for deploying the token bridge contracts, for both a chain that uses ETH as the gas token, as well as a chain that uses a custom gas token.
- Added token bridge deployment utilities (@spsjvc, @TucksonDev in #34, #50, fcc717e)
For the best overview of new APIs, take a look at the examples:
- Example for deploying the token bridge contracts for a chain that uses ETH as gas token
- Example for deploying the token bridge contracts for a chain that uses a custom gas token
Misc
- Added
prepareKeyset
for calculating the keyset from a set of BLS keys (@GreatSoshiant in #35) - Added Arbitrum One and Arbitrum Nova contracts (@spsjvc in #47, #52)
- Added generated contract ABIs (@spsjvc in #48)
- Added
sanitizePrivateKey
for sanitizing private key to utils (@spsjvc in #49) - Added constants (@spsjvc in #51)
Constants include useful values for creating the rollup or creating the token bridge:
export const createRollupDefaultRetryablesFees = parseEther('0.125');
export const createTokenBridgeDefaultRetryablesFees = parseEther('0.02');
export const createTokenBridgeDefaultGasLimit = 5_000_000n;
Full Changelog: v0.5.4...v0.6.0