-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release #170
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* chore(blockchain): update hardhat configuration (#104) * chore(blockchain): update hardhat config * chore(blockchain): update hardhat config * chore: update github workflow * chore(blockchain): add cairo 1.0 hardhat config * feat(blockchain): add scarb config * ci: add scarb workflow * fix(ci): update starknet workflow * fix(ci): update github worlflows * refactor(ci): rename workflows * used create-t3-app to bootstrap the project and adapted previous components * chore: some things to make review easier * feat(cairo-contracts): scarb configuration * chore: some things to make review easier * nfts by collection ui in progress * feat: select nft + drawer * add / remove entire collection * removed unused dependency * a bit of refactor + color changes * added forgotten key + new title * added back testnet * added back border emerald when nft card selected * feat(deps): add @heroicons/react * fix(deps): encoding * chore: started to fix errors * continued fixing build * fix: build * changed types to interface for props --------- Co-authored-by: Rémi Roycourt <[email protected]> Co-authored-by: Rémi Roycourt <[email protected]>
* feat(ethereum-contracts): create bridge escrow contract * feat(ethereum-contrats): unit tests * feat(ethereum-contracts): gas optimisations * refactor(ethereum-contracts): bridge role * fix(ethereum-contracts): rename solidity errors * fix(ethereum-contracts): send back to depositor during a cancellation
* feat(ethereum-contracts): create bridge escrow contract * feat(contracts): bridge * test: bridge contract * test: bridge contract * test: bridge contract * feat(contracts): bridge escrow * fix(contracts): remove force withdraw * feat(contracts): add deposit event * feat(solidity-contracts): check l2 address * feat(solidity-contracts): add is open check * fix(cairo-contracts): deposit test
…DC (#108) * feat(starknet-contracts): bridge contract * feat(cairo-contracts): scarb compilation * fix(cairo-contracts): update scarb config * feat(cairo-contracts): bridge * feat(blockchain): call udc * feat(cairo-contracts): bridgable erc721 * fix(cairo-contracts): update .gitignore * fix(cairo-contracts): remove erc21 contract * fix(cairo-contracts): remove erc21 contract * test: remove bridge contract * feat(cairo-contracts): set erc721 class_hash
* feat(starknet-contracts): escrow contract * feat(starknet-contracts): wip * feat(starknet-contracts): escrow contract
* chore(blockchain): update hardhat configuration (#104) * chore(blockchain): update hardhat config * chore(blockchain): update hardhat config * chore: update github workflow * chore(blockchain): add cairo 1.0 hardhat config * feat(blockchain): add scarb config * ci: add scarb workflow * fix(ci): update starknet workflow * fix(ci): update github worlflows * refactor(ci): rename workflows * used create-t3-app to bootstrap the project and adapted previous components * chore: some things to make review easier * feat(cairo-contracts): scarb configuration * chore: some things to make review easier * nfts by collection ui in progress * feat: select nft + drawer * add / remove entire collection * removed unused dependency * a bit of refactor + color changes * added forgotten key + new title * added back testnet * added back border emerald when nft card selected * feat(deps): add @heroicons/react * fix(deps): encoding * chore: started to fix errors * continued fixing build * fix: build * feat: wrapped some values with useMemo * some fixes + connect wallet buttons UI * refactor + show logo of the connected wallet * started new modal * connect wallet ethereum / starknet modals * refactor: chain transfer summary * fix: wrong gap * style fixes * change casing to fix build * changed connectstarknetmodal to connectmodal --------- Co-authored-by: Rémi Roycourt <[email protected]> Co-authored-by: Rémi Roycourt <[email protected]>
* add message related structs * add testing for messaging and init token uri from short string * rework RequestBridge to be limited to one collection * wip on escrow to then do bridge + integration testing after revision * fix repo layout to work with scarb * relocate files for integration testing Seems like we can't use TEST_CLASS_HASH if we're not in the same package.. weird, but it's not working for now. So tests are for now located inside the starklane package * adjust modules export for better import UX * add tests for erc721_bridgeable * add functional request bridge process * add support for deposit token from L2 + rename BridgeRequest * wip on URI for ERC721 * add a first test of custom struct storage Cairo compiler is restricting the return types for storage read. Which means, even if we impl the StorageAccess, we can't read from the storage if it's not a LibFunc basic type. Let's try now the custom storage without using Storage struct. * add low level storage test * clean repo * remove unused interfaces * solve storage problem with custom storage keys without storage macro * add support for token_uri and tokenUri selectors * fix comment * fix inverted cases for escrow * add L1 -> L2 tests * add L2 -> L1 tests * add bridge ownership test * add request hash to the BridgeRequest * add the request to be sent to l1 for L2 -> L1 testing * cleanup bridge test * fix typo and get default erc721 class * add katana deploy file * new layout with foundry * add missing submodules * chore: forge init * add forge std * install OZ dependencies * test foundry on ci * add missing root path for tests * wip cairo v2 rework * rework with impl but problem with new syntax * fix new syntax related problem In loops, even if we pass a reference to a local variables, it's considered moved at the end of the loop. For this reason, care must be taken in loops for those scenarios when working with self, as it's not copyable * restore the token logic in the loop * fix new casing and dependencies * wip on fixing new storage overrides * fix TokenURI storage instead of custom storage like dojo * remove unused code * adjust scarb version in CI * generalize LongStrong * use LongString also for name and symbol * rename contracts + wip messaging * add pre-defined katana account for starkli * add set_dummy to trigger a L2->L1 message * add testing and debugging for messaging * adjust hash + msg hash checker when L2 send message * add testing methods to solve keccak abi encoding * add bridge request deserialization ethereum side * wip on processing request from L2 * add logic for deploy collection + escrow check * minor fixes in deploy scripts * scarb fmt TODO: open a PR as some extra spaces are added....! * testing script with foundry and need to prepare anvil + prd ones * remove not use key anymore * implement TryInto for Span felt252 into LongString * simplified LongSting implementation * add tests for storage and hashmap of LongString * fix testing LongString to parse serialized buffer * adjust comments * wip on eth for debug messaging * wip ethereum scripts * wip on indexer * rework store for loose coupling with impl * run cargo fmt * wip event fetch for ethereum * add eth enum to support json rpc error * wip on async * remove cancellation token as not used in the real case * remove tokio-util * wip starknet * fix starknet blockId parsing * rework data struct for better indexing of requests * add wip comment for event processing * add todo list * complete todo * add ethereum safe block range fetching * add some comments * remove compiler version for starkli * add todo items * mv ethereum * mv starknet * clean old code * remove counter * add todo * add todo item * add comment for bridge rework proxy + erc1155 support * add comment + test for short string packing * fix cairo short string unpack * wip rework ethereum * add test suite for cairo serde * add proxy impl + script to work with Starklane deployment * add makefile and remove logs from git * rework ERC721 to be upgradable * add baseURI override * add makefile for easy deploy/upgrade from config * add ERC1155 * reorganize the files * add rules for ERC1155 into makefile * add testing for protocol + new doc with NatSpec style comments * add token util to manage metadata * build request on deposit * prepare the support for ERC1155, but must be discussed * reword revert * rename token interface into CollectionType * rename variable and type for interface and collection type * finish rework deposit token, need testing * fix naming * add collection manager to deploy tokens * put again the basis for claiming token * fix documentation for Cairo.sol * fix comments * wip on testing * add withdraw QUICK and STARKNET * wip on withdraw * wip on message consuming * fix test for message consuming * add testing for ERC721 both withdraw methods * refacto events * fix typo * rework Request struct on starknet * add TODO * wip on testing renewal * set scarb version to 0.6.0 * wip rework starknet * add verifier function for address mapping * add request utils methods + test suite * switch request header to u256 to be keccak compatible * ensure compatibility between req hash between solidity and cairo * fix test suite for keccak req hash * add deposit token logic again * add withdraw to starknet again * add test suite again for withdraw starknet * aa new owners to request on ethereum * add makefile and katana configuration * rename katana env to not be ignored * add color for usage in Makefile * edit makefile + ensure no deposit can be done if no bridge l1 address set * explore a solution for logging starkli output without losing terminal output * add starklane deposit to makefile * add deposit to script * reduce solidity code size, rework needed * fix serialization of request hash on ethereum * add README * fix scarb version in CI * switch to scarb action * cleanup + add wd for scarb * comment snforge for now as it is not setup for CI * update readme to add figma link + disclaimer * add README for both blockchain side: TBC... * add ethereum withdraw script instead of using cast
* add local testing setup of contracts for ethereum/anvil * add Makefile to quickly restart devnodes and basic setup * adjust local config to match local addresses * reorganize indexer files * remove old urls * add invoke tx for starknet * rework ethereum part to use ethers (alloy not complete for now) * add functional example of sending tx with ethers * remove comments * rework event processing with ethers-rs decoding * rework storage module * work to connect store and indexer * add convertion from logs to event and request for db * fix logic for ethereum indexer * replace print by log * add parsing logic for starknet events * run cargo fmt * rework starknet client to have store integrated * remove warning * run cargo fmt * add cross chain store to handle cross chain tx like withdraw auto or burn auto * fix enum handling for mongo * run cargo fmt * rework eth to use the store at init * refacto ethereum
* adjust events and parsing for ethereum logs + add xchain_txs for withdraw auto * fix bug preventing all logs to be processed for one block * modify the xchain_store to ensure only pending tx are processed * run cargo fmt * fix request inserted in the database to avoid races between the two chains * apply cargo fmt * remove leading 0 on events data + run clippy
* add axum server to server requests by wallet * run clippy and cargo fmt * fix range fetching for ethereum * add some debug logs + fix starknet range if no logs * add database name as argument from connection string + fix starknet block increment * simplifies logic for block indexing
* rework indexer logic for tx execution to ensure no tx are fired for nothing * comment debug log
* add delay for log fetching when third api is used * ignore temporary events related to collection deployment The event parsing must be updated with starknet-rs abigen when available for a better event parsing and associated actions
* chore(blockchain): update hardhat configuration (#104) * chore(blockchain): update hardhat config * chore(blockchain): update hardhat config * chore: update github workflow * chore(blockchain): add cairo 1.0 hardhat config * feat(blockchain): add scarb config * ci: add scarb workflow * fix(ci): update starknet workflow * fix(ci): update github worlflows * refactor(ci): rename workflows * used create-t3-app to bootstrap the project and adapted previous components * chore: some things to make review easier * feat(cairo-contracts): scarb configuration * chore: some things to make review easier * nfts by collection ui in progress * feat: select nft + drawer * a bit of refactor + color changes * added back testnet * added back border emerald when nft card selected * fix(deps): encoding * chore: started to fix errors * continued fixing build * fix: build * feat: wrapped some values with useMemo * some fixes + connect wallet buttons UI * refactor + show logo of the connected wallet * started new modal * connect wallet ethereum / starknet modals * refactor: chain transfer summary * change casing to fix build * design system package * design system package with no refresh needed * applied font styles * navigation * illustrations + disconnect ui * removed unnecessary comment in tailwind config * comment on tailwind config * home page * started portfolio page * added dark mode / bridge icons to the header * added dark mode support, without proper colors for now * started dark mode * coinbase wallet support + started useNftSelection * added eslint perfectionist plugin * selected nfts are now stored in the local storage, by address * new custom hook `useTargetChain` * continued dark mode * added chain image on nftcard * modified hook `useTargetChain` to `useCurrentChain` * Lounge modifications * started portfolio page * small adjustments + ethereum color updates * new logos for starknet / ethereum + started lounge * new delete nft button style * added display options icons * some fixes + grid / list view of lounge * started mobile * bump starknet-react * continued mobile * started mobile * mobile modifications * approve + transfer connected to SCs * added todo comment * added font sizes for smaller screens * refactor nft transfer to custom hook * chore: new folder architecture * states / ui improvements * fix: lint * removed unused file caused by the merge, and fix build * attempt to fix build * attempt to fix build 2 * updated assets + refactor chain switch component * nft api fix + new target chain switch * attempt to fix build bug * deleted unwanted pnpm lock file * added hover states and multiple design changes * notifications * Update IconButton.tsx * new api * loading / empty states fixes * completed whole flow * improved the whole flow * fix(web): add console log for nfts api * fix(web): add console log for nfts api * refactor: fix lint and type issues * build: tryfix build issue --------- Co-authored-by: Rémi Roycourt <[email protected]> Co-authored-by: Rémi Roycourt <[email protected]> Co-authored-by: paul launay <[email protected]>
* starknet: update to cairo 2.4.3 (byte array and new macro) Update scarb to 2.4.3 Update starknet foundry to 0.13.1 * ethereum: update protocol to use cairo byte array string * CI: use tool-versions instead of hardcoded scarb version * CI: add starknet contract testing with snforge * CI: fix path to ethereum contracts
* feat(indexer): starknet bridge request * refactor(indexer): remove comment * fix: remove quests-cron
* starknet: update to cairo 2.4.3 (byte array and new macro) Update scarb to 2.4.3 Update starknet foundry to 0.13.1 * ethereum: update protocol to use cairo byte array string * CI: use tool-versions instead of hardcoded scarb version * CI: add starknet contract testing with snforge * CI: fix path to ethereum contracts * add whitelist support for ethereum * add whitelist support for starknet * use custom error instead of revert + string in ethereum contracts * Deployer is now an external library to reduce ethereum contract size * starknet: EthAddress Hash impl added in cairo 2.3.0 * starknet: move event definitions into interfaces.cairo Add test case for upgrade. Add missing event check in test cases. * ethereum: add script to deploy messaging contract * ethereum: add enable switch for bridge * starknet: add enable switch for bridge * ethereum: add baseURI and tokenURI retrieving for ERC721 * starknet: add tokenURI support in withdraw_auto_from_l1 * ethereum: add test case for internal function detection * ethereum: byte array remaining word is NOT aligned on MSB * ethereum: add support to cancel deposit request * ethereum: add test case for request cancellation with a delay * blockchain: update README * add `tx` status HTTP endpoint * add `token_ids` when querying requests * add Dockerfile for indexer * add environment override support for indexer configuration * indexer: add build script to retrieve git hash * indexer: add custom version header in response * indexer: format ethereum request hash as 66 chars (0x + 64) * indexer: add `/info` route to get bridge contract adresses and latest indexed block numbers * .vscode: add rust-analyzer project configuration * ethereum: use StarknetMessagingLocal from katana 0.5.0 * indexer: add support for 'withdraw_available_on_l1' * indexer: cargo fmt
* feat(quest): init cron app * feat(api): add total_tokens_bridged_on_starknet to info endpoint * feat(api): change endpoint
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* infinite scroll + used new alchemy / ark project endpoints * infinite scroll refacto + lots of things * cleaned types * bridge both sides is back * bumped wagmi + fix bug switch network * ui * fetch nfts from cart * removed console.logs * tried to fix build * another atempt * approve tests * fix(package): use yarn * fix(web): build * finished the lounge whole flow * everai UI + Lounge + many things * ui * ui * fix build * updated colors * updated colors * fix build * added success modal, and ux things * changed hooks * changed spacing * fix build * fix build * updates * icons update * updated icons * removed test link * removed redirection * refacto / starknet multicall / ui * supported every connectors on ethereum side + ui modifications + congrats modal etc * fix build * removed unused hook * changed not connected state modal * modal changes * qa fixes * colors changes * qa fixes * fix: collapsible animation * fix build * smoother animation + wording * animations / redesign / refacto * updated logo + bridge request logic * spacing changes * design qa * removed unused line * qa live fixes * fix build * fix build * supported video nfts * fix build * added faq page * new modal flow * fixed modal bug * legal notice + new animation * show both sides on past transfers in the portfolio + new empty states + dark mode bug fix * fix build * new pages + some fixes * close starknet modal on connect * main net * fix build --------- Co-authored-by: kwiss <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.