Skip to content

Commit

Permalink
feat: milkomeda launch
Browse files Browse the repository at this point in the history
  • Loading branch information
borcherd committed Aug 22, 2023
1 parent 2137a66 commit 364ad34
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 167 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const nextConfig = {
GOERLI_RPC_URL: process.env.GOERLI_RPC_URL,
GA_KEY: process.env.GA_KEY,
},
productionBrowserSourceMaps: true,
}

module.exports = nextConfig
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@headlessui/react": "^1.7.17",
"@socket.tech/socket-v2-sdk": "^1.21.8",
"@squirrel-labs/peanut-sdk": "0.0.83",
"@squirrel-labs/peanut-sdk": "0.0.84",
"@thirdweb-dev/react": "^3.14.35",
"@types/node": "20.4.2",
"@types/react": "18.2.15",
Expand Down
2 changes: 1 addition & 1 deletion src/components/claim/views/claim.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export function ClaimView({ onNextScreen, claimDetails, claimLink, setTxHash }:
/>
</div>
{isDropdownOpen && (
<global_components.CardWrapper mb="mb-0">
<global_components.CardWrapper mb="mb-4">
<label className="block text-center text-xs font-medium">
If you can't connect, you can also write your address below <br />{' '}
<span className="italic">⚠️ WARNING: if you enter a wrong address, funds will get lost!!</span>
Expand Down
213 changes: 70 additions & 143 deletions src/components/send/views/initial.view.tsx

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions src/components/send/views/succes.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ export function SendSuccessView({ onCustomScreen, claimLink, txReceipt, chainId
</div>
) : (
<button className="h-full cursor-pointer gap-2 border-none bg-white p-0 text-base font-bold ">
<span
className="tooltiptext leading-0 inline flex items-center gap-2 text-black"
id="myTooltip"
>
<label className="text-black">COPY</label>
</span>
<label className="cursor-pointer text-black">COPY</label>
</button>
)}
</div>
Expand Down
14 changes: 2 additions & 12 deletions src/consts/chains.consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ const milkomeda = {
blockExplorers: {
default: { name: 'Blockscout', url: 'https://explorer-mainnet-cardano-evm.c1.milkomeda.com' },
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 11_907_934,
},
},
contracts: {},
} as const satisfies Chain

const milkomedaTestnet = {
Expand All @@ -61,12 +56,7 @@ const milkomedaTestnet = {
blockExplorers: {
default: { name: 'Blockscout', url: 'https://explorer-devnet-cardano-evm.c1.milkomeda.com' },
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 11_907_934,
},
},
contracts: {},
} as const satisfies Chain

export const chains = [
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2320,10 +2320,10 @@
rpc-websockets "^7.5.1"
superstruct "^0.14.2"

"@squirrel-labs/peanut-sdk@0.0.83":
version "0.0.83"
resolved "https://registry.yarnpkg.com/@squirrel-labs/peanut-sdk/-/peanut-sdk-0.0.83.tgz#7e68ebf11023487be5aaaa4206ea847a6d39ce8e"
integrity sha512-JL/Vi+Os3Cb90JPdvFHhV4y0QAQOY54IyD/pexV3dMEh6OMX1POxWtV5hKRPFGjHp+tJzOp36VQ5CaBdBc5Cug==
"@squirrel-labs/peanut-sdk@0.0.84":
version "0.0.84"
resolved "https://registry.yarnpkg.com/@squirrel-labs/peanut-sdk/-/peanut-sdk-0.0.84.tgz#e7f9bfbdb42e830fc6ce68c673939ab069e37f49"
integrity sha512-c6PyTiv30gv9grlvpluntFqMKjl1k3MM76NbkixNVEERvaCnf39MjfUszNxBNC4+WUhAKtrUhVlxdEVk9n6+lQ==
dependencies:
ethersv5 "npm:ethers@^5"
isomorphic-fetch "^3.0.0"
Expand Down

0 comments on commit 364ad34

Please sign in to comment.