Skip to content

Commit

Permalink
Use Mangata SDK to create ApiPromise for Mangata ⛓️
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldev5 committed Dec 12, 2023
1 parent ea35c50 commit 246d253
Show file tree
Hide file tree
Showing 8 changed files with 275 additions and 7 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
}
},
"dependencies": {
"@mangata-finance/sdk": "^2.1.1",
"ethers": "^5.7.1"
},
"peerDependencies": {
Expand Down
235 changes: 233 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ export * from './pallets/assets'
export * from './pallets/builder'
export * from './pallets/pallets'
export * from './types'
export { NODE_NAMES, SUPPORTED_PALLETS } from './maps/consts'
export { getNodeEndpointOption, getNode, getNodeProvider, getAllNodeProviders } from './utils'
export { NODE_NAMES, NODES_WITH_RELAY_CHAINS, SUPPORTED_PALLETS } from './maps/consts'
export {
getNodeEndpointOption,
getNode,
getNodeProvider,
getAllNodeProviders,
createApiInstanceForNode
} from './utils'
export * from './errors'
Loading

0 comments on commit 246d253

Please sign in to comment.