Skip to content

Make this simple project work with Solana Wallet Adapter

Project details

I have a project that works with discord to verify the user logging in.

I want to add this to the project:

When I add the import to

import { ConnectionProvider, WalletProvider } from ‘@solana/wallet-adapter-react’;
import { WalletAdapterNetwork } from ‘@solana/wallet-adapter-base’;
import { UnsafeBurnerWalletAdapter } from ‘@solana/wallet-adapter-wallets’;
import {
WalletModalProvider,
WalletDisconnectButton,
WalletMultiButton
} from ‘@solana/wallet-adapter-react-ui’;
import { clusterApiUrl } from ‘@solana/’;

——-

It fails with an error (multiple of these):

ERROR in /home/admin/wallet-adapter/packages/core/react/lib/esm/
Module parse failed: /home/admin/wallet-adapter/packages/core/react/lib/esm/ Unexpected token (35:22)
You may need an appropriate loader to handle this file type.

——-

The issue is most likely to do with how the package is setup, but I’m not sure how to set it up so everything plays nicely with each other.

This isn’t a REQUEST for coding, I simply want someone to setup this package properly (maybe with another npx etc) so I can use the Solana wallet adapter without errors. If the imports are working then I assume the rest will be fine and that’s all I’d need.

Thank you.

Awarded to:

Project budget: $20 USD
budget limits: $10-30 USD
number of bids: 6
average bids: $29

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

Awarded to:

Project budget: $20 USD
budget limits: $10-30 USD
number of bids: 6
average bids: $29

Project details

I have a project that works with discord to verify the user logging in.



I want to add this to the project:


When I add the import to

import { ConnectionProvider, WalletProvider } from ‘@solana/wallet-adapter-react’;
import { WalletAdapterNetwork } from ‘@solana/wallet-adapter-base’;
import { UnsafeBurnerWalletAdapter } from ‘@solana/wallet-adapter-wallets’;
import {
WalletModalProvider,
WalletDisconnectButton,
WalletMultiButton
} from ‘@solana/wallet-adapter-react-ui’;
import { clusterApiUrl } from ‘@solana/’;

——-

It fails with an error (multiple of these):

ERROR in /home/admin/wallet-adapter/packages/core/react/lib/esm/
Module parse failed: /home/admin/wallet-adapter/packages/core/react/lib/esm/ Unexpected token (35:22)
You may need an appropriate loader to handle this file type.

——-

The issue is most likely to do with how the package is setup, but I’m not sure how to set it up so everything plays nicely with each other.

This isn’t a REQUEST for coding, I simply want someone to setup this package properly (maybe with another npx etc) so I can use the Solana wallet adapter without errors. If the imports are working then I assume the rest will be fine and that’s all I’d need.

Thank you.

Skills: Node.jsReact.js

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

Other freelancers

Responsive image

Borko R.

Senior full stack developer.

4.8 (17 reviews)

Responsive image

Danilo J.

Professional Software Engineer

5.0 (17 reviews)

Responsive image

ZAWN Tech

Blockchain | Websites | Mobile | Games | Desktop

4.9 (217 reviews)

Responsive image

Adebanjo H.

Top Talented Web Developer

5.0 (4 reviews)

×

Hello!

Do you have an idea or project. Contact us and we'll get it done for you

× Do you have an idea or project?