Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filecoin, Multichain API, Ethers v6 (#1250)
* feat: add chain picker * refactor: fix wrong explore URL when changing networks * wip * refactor: add a delay to FlyOut * refactor: wip * refactor: integrate multi-chain API * fix: issue causing newly claimed project not appearing in projects after claiming flow completes * test: fix broken unit tests * refactor: update ethers to v6 * refactor: remove RepoDriverClient and use the new AbiType repoDriverRead func * refactor: remove NFTDriverClient and use the new AbiType nftDriverRead and nftDriverWrite funcs * refactor: replace SDK getAllowance calls with local function * refactor: replace SDK AddressDriver with local function * refactor: remove DripsClient and use the new AbiType dripsRead funcs * refactor: replace SDK ERC20TxFactory with local functions * refactor: replace SDK DripsTxFactory with local functions * refactor: cleanup new contract client funcs * refactor: create generic ERC20 Tx builder * refactor: replace SDK RepoDriverTxFactory with local functions * refactor: replace SDK NftDriverTxFactory with local functions * refactor: replace SDK AddressDriverTxFactory with local functions * refactor: replace SDK CallerTxFactory with local functions * refactor: replace SDK Caller presets with local functions * fix: wrong own account ID calculation when initializing store * fix: missing assert import * fix: wrong contract address when creating caller client * refactor: remove erc20 utils and use the typed client Also fix drip list creation flow errors * fix: errors when creating streams and managing funds * fix: check errors * explictly define @rollup/rollup-linux-x64-gnu as optional dep * fix: construct new response instance in GQL API proxy endpoint * initial setup * wip * feat: auto unwrap on collect * Unsupported network handling (#1200) * refactor: allow disconnecting wallet instead of switching * refactor: add button for adding unsupported network * refactor: avoid page duplicates serving identical content for alternative chains (#1199) * remove display of native token name in collect modal * fix gql build error * fix: Filecoin block explorer URL creation (#1210) * fix: Filecoin block explorer URL creation * refactor: revert naming * fix lockfile * fix lockfile again * Add network config value for hiding network picker per network (#1229) * add `displayNetworkPicker` to network config, refactor as one config var * hide network pickers if disabled in network config * animate network picker chevron * disable gas buffers on filecoin * move contract addresses to network config, update filecoin deployment addresses (#1230) * update filecoin deployment addresses * fix: #1231, add block explorer config to network config (#1234) * allow customizing settlement info per network (#1237) * finalize network picker (#1236) * fix: #1232 (#1235) * fix: #1239 * fix checks * scope cache keys by network * fix tlv * fix: #1248 * invalidate account IDs as strings * update gh workflows * fix unable to add custom token --------- Co-authored-by: Ioannis Tourkogiorgis <[email protected]> Co-authored-by: Ioannis <[email protected]>
- Loading branch information