Skip to content

Commit

Permalink
Add nft.storage token, update packages (#61)
Browse files Browse the repository at this point in the history
* update versions

* remove old phantom adapter

* add token

* token in .env

* update packages

* remove phantom

* use mpl-toolbox
  • Loading branch information
MarkSackerberg authored Nov 14, 2023
1 parent f81386f commit cfc9d42
Show file tree
Hide file tree
Showing 11 changed files with 10,084 additions and 2,300 deletions.
2 changes: 1 addition & 1 deletion examples/js/ui-create-nft-with-derived-signer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm install @metaplex-foundation/umi \
@metaplex-foundation/umi-signer-wallet-adapters \
@metaplex-foundation/umi-uploader-bundlr \
@metaplex-foundation/umi-signer-derived \
@metaplex-foundation/mpl-essentials \
@metaplex-foundation/mpl-toolbox \
@lorisleiva/mpl-digital-asset \
@solana/web3.js \
@solana/wallet-adapter-base \
Expand Down
14 changes: 7 additions & 7 deletions examples/js/ui-create-nft-with-derived-signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@metaplex-foundation/mpl-essentials": "^0.5.0",
"@metaplex-foundation/mpl-token-metadata": "3.0.0-alpha.11",
"@metaplex-foundation/umi": "^0.6.0",
"@metaplex-foundation/umi-bundle-defaults": "^0.6.0",
"@metaplex-foundation/umi-signer-derived": "^0.6.0",
"@metaplex-foundation/umi-signer-wallet-adapters": "^0.6.0",
"@metaplex-foundation/umi-uploader-bundlr": "^0.6.0",
"@metaplex-foundation/mpl-toolbox": "^0.9.1",
"@metaplex-foundation/mpl-token-metadata": "3.1.0",
"@metaplex-foundation/umi": "^0.8.9",
"@metaplex-foundation/umi-bundle-defaults": "^0.8.9",
"@metaplex-foundation/umi-signer-derived": "^0.8.9",
"@metaplex-foundation/umi-signer-wallet-adapters": "^0.8.9",
"@metaplex-foundation/umi-uploader-bundlr": "^0.8.9",
"@next/font": "13.1.6",
"@solana/wallet-adapter-base": "^0.9.20",
"@solana/wallet-adapter-react": "^0.15.28",
Expand Down
2 changes: 0 additions & 2 deletions examples/js/ui-create-nft-with-derived-signer/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { WalletProvider } from "@solana/wallet-adapter-react";
import { WalletModalProvider } from "@solana/wallet-adapter-react-ui";
import {
LedgerWalletAdapter,
PhantomWalletAdapter,
SolflareWalletAdapter,
} from "@solana/wallet-adapter-wallets";
import { clusterApiUrl } from "@solana/web3.js";
Expand All @@ -20,7 +19,6 @@ export default function App({ Component, pageProps }: AppProps) {
const wallets = useMemo(
() => [
new LedgerWalletAdapter(),
new PhantomWalletAdapter(),
new SolflareWalletAdapter({ network }),
],
[network]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { createDerivedSigner } from "@metaplex-foundation/umi-signer-derived";
import {
transferAllSol,
transferSol,
} from "@metaplex-foundation/mpl-essentials";
} from "@metaplex-foundation/mpl-toolbox";
const inter = Inter({ subsets: ["latin"] });

const WalletMultiButtonDynamic = dynamic(
Expand Down
Loading

0 comments on commit cfc9d42

Please sign in to comment.