Skip to content

Releases: OffchainLabs/arbitrum-orbit-sdk

v0.12.0

24 Apr 09:55
a7a5fcd
Compare
Choose a tag to compare

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

18 Apr 10:11
623659b
Compare
Choose a tag to compare

What's Changed

  • Updated the NodeConfig type for Nitro v2.3.3 (@spsjvc in #79)

Full Changelog: v0.11.0...v0.11.1

v0.11.0

18 Apr 09:41
438b325
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.11.0

v0.10.0

12 Apr 12:41
87ad52b
Compare
Choose a tag to compare

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

09 Apr 10:21
363ef10
Compare
Choose a tag to compare

What's Changed

  • Fixed an issue where the maxDataSize parameter for createRollup was incorrect for some chains (@spsjvc in #73)

Full Changelog: v0.9.0...v0.9.1

v0.9.0

28 Mar 12:07
f07c96c
Compare
Choose a tag to compare

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

20 Mar 12:02
f4cabbf
Compare
Choose a tag to compare

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

15 Mar 12:19
fc6e3c7
Compare
Choose a tag to compare

What's Changed

  • Fixed the RollupCreator address on Holesky to be v1.1.0 (@spsjvc in #64)

Full Changelog: v0.8.1...v0.8.2

v0.8.1

06 Mar 17:04
1e39d21
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0

29 Feb 12:44
543482e
Compare
Choose a tag to compare

What's Changed

  • Added utilities for WETH gateway registration (@TucksonDev in #44)
  • Updated NodeConfig for Nitro v2.3.0 (@spsjvc in #58)

Internal

New Contributors

Full Changelog: v0.7.0...v0.8.0