fcl-swift
fcl-swift copied to clipboard
Allow using custom AccessAPI
Currently we are forced to only use the .mainnet
or .testnet
networks configs for the fcl.config object and can't specify a custom access node. The same functionality is already allowed by the flow-swift-sdk so I don't see why fcl-swift doesn't support it.
https://github.com/portto/flow-swift-sdk/blob/52448238d0e887af02fc0bdaf50ca76426317289/README.md?plain=1#L463
Will this PR help?
@andrew54068 I guess so, but it's not really clean. We should be able to initialise client here: https://github.com/portto/fcl-swift/blob/d1b62c97b9dfc8c44f6c2f21c83d37a45b8af566/Sources/FCL-SDK/FCL.swift#L31