Skip to content

Commit

Permalink
update url
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangSonglun committed Aug 13, 2023
1 parent adebf94 commit a9b41c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/OneInchKit/OneInchProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class OneInchProvider {
private let networkManager: NetworkManager
private let chain: Chain

private var url: String { "https://unstoppable.api.enterprise.1inch.exchange/" }
private var url: String { "https://api.1inch.dev/swap/" }

init(networkManager: NetworkManager, chain: Chain) {
self.networkManager = networkManager
Expand Down
2 changes: 1 addition & 1 deletion iOS Example/Sources/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Configuration {

let chain: Chain = .ethereum
let rpcSource: RpcSource = .ethereumInfuraWebsocket(projectId: "2a1306f1d12f4c109a4d4fb9be46b02e", projectSecret: "fc479a9290b64a84a15fa6544a130218")
let transactionSource: TransactionSource = .ethereumEtherscan(apiKey: "GKNHXT22ED7PRVCKZATFZQD1YI7FK9AAYE")
let transactionSource: TransactionSource = .ethereumEtherscan(apiKey: "eJ6FPSDW5z2vKD6oEcjQwnzFzvQ6nXgZ")

let defaultsWords = "apart approve black comfort steel spin real renew tone primary key cherry"
let defaultsWatchAddress = "0xDc3EAB13c26C0cA48843c16d1B27Ff8760515016"
Expand Down

0 comments on commit a9b41c2

Please sign in to comment.