-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Support fuse #14493
Open
Supeeerpower
wants to merge
20
commits into
unlock-protocol:master
Choose a base branch
from
Supeeerpower:support-fuse
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Support fuse #14493
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ed7129a
add network file
Supeeerpower b103a0c
add api key
Supeeerpower b8ee208
unlock deployment
Supeeerpower acaa3c9
add Supeeerpower
Supeeerpower f93e3d2
Revert "add Supeeerpower"
Supeeerpower b0abee8
Merge branch 'master' into support-fuse
julien51 8064e12
update fuse nativeCurrency
Supeeerpower 3dd1001
add subgraph
Supeeerpower 7dafa7f
Revert "add subgraph"
Supeeerpower 92b93bb
add subgraph
Supeeerpower b03f4b3
update fuse.ts to fix some issues
Supeeerpower d518b54
add multisig
Supeeerpower a3ecbe4
Merge branch 'master' into support-fuse
clemsos 7df21a2
Merge branch 'master' into support-fuse
clemsos 0e5c127
Merge branch 'master' into support-fuse
clemsos 32f0b1b
Merge branch 'master' into support-fuse
clemsos d9befe3
Merge branch 'master' into support-fuse
clemsos 53be3a5
Merge branch 'master' into support-fuse
julien51 84e9a14
Merge branch 'master' into support-fuse
clemsos 0b79347
Merge branch 'master' into support-fuse
julien51 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
import { NetworkConfig } from '@unlock-protocol/types' | ||
|
||
export const fuse: NetworkConfig = { | ||
chain: 'fuse', | ||
description: 'Fuse is an EVM-compatible Layer-1 blockchain.', | ||
explorer: { | ||
name: 'Fuse Explorer', | ||
urls: { | ||
address: (address: string) => | ||
`https://explorer.fuse.io/address/${address}`, | ||
base: `https://explorer.fuse.io/`, | ||
token: (address: string, holder: string) => | ||
`https://explorer.fuse.io/token/${address}?a=${holder}`, | ||
transaction: (hash: string) => `https://explorer.fuse.io/tx/${hash}`, | ||
}, | ||
}, | ||
featured: false, | ||
fullySubsidizedGas: false, | ||
hooks: {}, | ||
id: 122, | ||
isTestNetwork: false, | ||
keyManagerAddress: '', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please deploy that contract as well |
||
maxFreeClaimCost: 0, | ||
multisig: '0x5ED353B723847E0317a59aE224613C399a4D0d8c', | ||
name: 'Fuse Mainnet', | ||
nativeCurrency: { | ||
coingecko: 'fuse', | ||
decimals: 18, | ||
name: 'FUSE', | ||
symbol: 'FUSE', | ||
wrapped: '0x0BE9e53fd7EDaC9F859882AfdDa116645287C629', | ||
}, | ||
|
||
previousDeploys: [], | ||
|
||
provider: 'https://rpc.fuse.io/', | ||
|
||
publicLockVersionToDeploy: 14, | ||
|
||
publicProvider: 'https://rpc.fuse.io/', | ||
|
||
startBlock: 31355828, | ||
subgraph: { | ||
endpoint: | ||
'https://api.studio.thegraph.com/query/87693/unlock-protocol-fuse/version/latest', // this is given to you by the graph after deploying | ||
networkName: 'fuse', // the graph name of the network see https://thegraph.com/docs/en/developing/supported-networks/ | ||
studioName: 'unlock-protocol-fuse', // the name of the graph | ||
}, | ||
tokens: [ | ||
{ | ||
address: '0x5622F6dC93e08a8b717B149677930C38d5d50682', | ||
decimals: 18, | ||
featured: true, | ||
name: 'Wrapped Ether', | ||
symbol: 'WETH', | ||
}, | ||
{ | ||
address: '0x28C3d1cD466Ba22f6cae51b1a4692a831696391A', | ||
decimals: 6, | ||
featured: true, | ||
name: 'USD Coin', | ||
symbol: 'USDC', | ||
}, | ||
], | ||
unlockAddress: '0xbf36B2a6dd0019555A33602Bf04e2882b0cEc843', | ||
unlockDaoToken: { | ||
address: '', | ||
}, | ||
} | ||
|
||
export default fuse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You need to deploy the hooks too please.