Skip to content

Commit

Permalink
Updated addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
- committed Sep 15, 2023
1 parent 0d72d03 commit 4945e5d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,19 @@ The derived address of the account that would sign the deployment transaction, a
```

#### SKYBITLite
We've developed a new highly gas-efficient light-weight CREATE3 factory in pure Yul language. It costs only a third of the gas to deploy the factory contract compared with the SKYBIT & Vectorized/solady factory, and almost a tenth when compared with Axelar's factory.
We've developed a new highly gas-efficient light-weight CREATE3 factory in pure Yul language. It costs only around a third of the gas to deploy the factory contract compared with the SKYBIT & Vectorized/solady factory, and almost a tenth when compared with Axelar's factory.

The node package [@tovarishfin/hardhat-yul](https://www.npmjs.com/package/@tovarishfin/hardhat-yul) compiles the Yul source code in `contracts/SKYBITCREATE3FactoryLite.yul` and places the artifacts in `artifacts` directory. `SKYBITCREATE3FactoryLite.json` was then copied to `artifacts-saved/contracts/SKYBITCREATE3FactoryLite.sol/` directory for preservation of the bytecode.

Gas used for the deployment is 84,540 (or a little more for some blockchains), so gas limit in this deployment transaction has been set to 100,000, giving some room in case some opcode costs increase in future, hence there should be at least 0.01 of native currency at the signer's address before factory deployment.
Gas used for the deployment is 86,004 (or a little more for some blockchains), so gas limit in this deployment transaction has been set to 100,000, giving some room in case some opcode costs increase in future, hence there should be at least 0.01 of native currency at the signer's address before factory deployment.

The SKYBITLite factory contract will be deployed to this address (if the transaction bytecode is unchanged):
```
0xF17893CC7A1046378dead7c4798D86ADDDaC2Ce5
0xb0c211d66A1B3F393C197533E3A1140834729df8
```
The derived address of the account that would sign the deployment transaction, and that you'd need to fund in order to pay the gas fee, is:
```
0x5f85c992B86050acb18dcDdcFE6C40eabbA0dc5E
0x17b61C311e299086232385FB462c9064530c5767
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"contractName": "SKYBITCREATE3FactoryLite",
"sourceName": "contracts/SKYBITCREATE3FactoryLite.yul",
"abi": [],
"bytecode": "0x60938061000b5f395ff3fe34606b575f602380607083393360205281356040526040602020908280f58015605e57816014918180601f1936019283602083375af115605157805115604457601490f35b63326bd13990526004601cfd5b63ec4cb4b690526004601cfd5b636e0df51b82526004601cfd5b5f80fdfe601980600a5f395ff3fe5f36818037368180f090813b15601657526014600cf35b80fd",
"bytecode": "0x60988061000d6000396000f3fe34606c576000602680607283393360205281356040526040602020908280f58015605f57816014918180601f1936019283602083375af115605257805115604557601490f35b63326bd13990526004601cfd5b63ec4cb4b690526004601cfd5b636e0df51b82526004601cfd5b600080fdfe601a80600c6000396000f3fe600036818037368180f090813b15601757526014600cf35b80fd",
"linkReferences": {},
"deployedLinkReferences": {}
}
2 changes: 1 addition & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ networks.polygonMumbai.url = `https://polygon-mumbai.blockpi.network/v1/rpc/publ

networks.bscTestnet.url = `https://data-seed-prebsc-2-s2.bnbchain.org:8545`

networks.sepolia.url = `https://eth-sepolia.g.alchemy.com/v2/demo`
networks.sepolia.url = `https://eth-sepolia.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`


const customChains = Object.values(networks).filter(network => Object.hasOwn(network, `urls`))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SKYBIT-Keyless-Deployment",
"version": "3.0.0",
"version": "3.1.0",
"packageManager": "[email protected]",
"devDependencies": {
"@Vectorized/solady": "https://github.com/Vectorized/solady#03f3fd05fb1da76edc4df83ae6bf32a842c15f12",
Expand Down

0 comments on commit 4945e5d

Please sign in to comment.