You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
discover Viem - how to connect to node --> create repo outside of monorepo centrifuge-sdk
deployment setup --> ask Guillermo
new multicall not linked to etherjs - maybe viem has an implementation? viem has a multicall implementation
base class that provides default, accepts signer as arg, be multichain/chain agnostic for fetching, chain-specific for transactions, explore using observables in SDK and expose promise AND observable API for users
caching layer in SDK - learn how to leverage RxJs for caching. Learn from useCentrifugeQuery shareReplayWithDelayedReset
Subquery integration --> are subscriptions possible?
Utilities: CurrencyBalance, Rate, Tokens etc ideally without BN.js instead using native BigInt
Docs!!
Tests - ideally TDD. Figure out which test runners to use and how to fork chain for best results (Tenderly)
Questions
how do we query pools without polkadot connection? Should we use centrifuge-js to query pools under the hood?
how do we want to handle onboarding
do we want to integrate IPFS pinning and reading into SDK?
TBD
Adopt new terminology (share pools instead of pools, subscriptions instead of investments, loans?)
Set up sync where new info is shared about upcoming changes
We want each type to be a class with getters and setter.
Group by: Entity (Loan, Pool, AccountPermissions)
// borrowconstpool=awaitcent.getPool(poolId)// returns type Pool that contains methods to fetch anything pool relatedconstloans=awaitpool.getLoans()// returns type Loan[] where each loan contains methods for anything loan related// examplesconstloan=loans.find(...)awaitloan.borrow(amount)awaitloan.repay(amount)
The text was updated successfully, but these errors were encountered:
Centrifuge SDK
MVP Scope
First steps
centrifuge-sdk
new multicall not linked to etherjs - maybe viem has an implementation?viem has a multicall implementationshareReplayWithDelayedReset
Questions
TBD
Protocol specs
SDK specs
We want each type to be a class with getters and setter.
Group by: Entity (Loan, Pool, AccountPermissions)
The text was updated successfully, but these errors were encountered: