-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactored sdk to use viem #48
refactored sdk to use viem #48
Conversation
|
src/multipass.ts
Outdated
walletClient: WalletClient; | ||
}) { | ||
const artifact = getArtifact(chainName, "Multipass"); | ||
this.chainId = chainName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not correct chainName: SupportedChains; can't be set to chainId. later or there is problem to convert chainName to int
39eca72
into
40-add-support-to-interact-with-010-rankify-interfaces
* added 0.10 rankify contracts basic support * updated index file * moved rank token methods to separate class * refactored sdk to use viem (#48) * build suceeds * added prebuild step to copy and use abi's within srcs * fix wrong imports * update prebuild script * update multipass class to use chain ID as a number --------- Co-authored-by: theKosmoss <[email protected]> * Peersky/40 add support 010 rankify/with viem (#49) * build suceeds * added prebuild step to copy and use abi's within srcs * fix wrong imports * generate chain id mapping to supported chains path during sdk build * Refactored sdk to accept chainId instead of chain * made linter to highlight more issues and fixed those * added jest for TDD * multipass unit test * updated ci cd * upd ci * added tests to player, fixed bug * validate address in distributor constructor * multipass constructor tweaks * added abi files to index & generator * export abis as object * reexport abis * fix dist import require paths * Revert "fix dist import require paths" This reverts commit cf816da. * modified build scipt instead * up ci * upd MAO distributor class getter namings * updated generation scripts and decoupled multipass in base and registrar classes * added block range for getEvents * tests mock deployments, removed console logs * remove console logs * happy linter - happy life * added types node * lockfile * add readme and setup local dev script * env sertup process * fix bug * docstrings & readme upd * changeset * upodate docs generation * No need to source env here. Sourcing is inside script --------- Co-authored-by: theKosmoss <[email protected]>
* added 0.10 rankify contracts basic support * updated index file * moved rank token methods to separate class * refactored sdk to use viem (#48) * build suceeds * added prebuild step to copy and use abi's within srcs * fix wrong imports * update prebuild script * update multipass class to use chain ID as a number --------- Co-authored-by: theKosmoss <[email protected]> * Peersky/40 add support 010 rankify/with viem (#49) * build suceeds * added prebuild step to copy and use abi's within srcs * fix wrong imports * generate chain id mapping to supported chains path during sdk build * Refactored sdk to accept chainId instead of chain * made linter to highlight more issues and fixed those * added jest for TDD * multipass unit test * updated ci cd * upd ci * added tests to player, fixed bug * validate address in distributor constructor * multipass constructor tweaks * added abi files to index & generator * export abis as object * reexport abis * fix dist import require paths * Revert "fix dist import require paths" This reverts commit cf816da. * modified build scipt instead * up ci * upd MAO distributor class getter namings * updated generation scripts and decoupled multipass in base and registrar classes * added block range for getEvents * tests mock deployments, removed console logs * remove console logs * happy linter - happy life * added types node * lockfile * add readme and setup local dev script * env sertup process * fix bug * docstrings & readme upd * changeset * upodate docs generation * wip * wip * TDD game master * updates for monitor --------- Co-authored-by: theKosmoss <[email protected]>
No description provided.