Skip to content

Commit

Permalink
Merge pull request #16 from srdarkseer/dev
Browse files Browse the repository at this point in the history
feature: updated receipient address
  • Loading branch information
srdarkseer authored Apr 25, 2024
2 parents 819c1e4 + 666f7b1 commit f2b15ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const nextConfig = {
NEXT_PUBLIC_SERVER_URL: process.env.NEXT_PUBLIC_SERVER_URL,
MORALIS_API_KEY: process.env.MORALIS_API_KEY,
SAI_CONTRACT_ADDRESS: process.env.SAI_CONTRACT_ADDRESS,
SAI_RECIPIENT_ADDRESS: process.env.SAI_RECIPIENT_ADDRESS,
},
// images: {
// loader: process.env.NODE_ENV === "production" ? "custom" : "default",
Expand Down
2 changes: 1 addition & 1 deletion src/views/Landing/components/PopUpModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const PopUpModal = ({ isOpen }: { isOpen: boolean }) => {
const signer = ethersProvider?.getSigner();
const gasLimit = 300000; // You may need to adjust this based on the contract's requirements

const recipientAddress = `${process.env.SAI_CONTRACT_ADDRESS}`; // Address of the recipient
const recipientAddress = `${process.env.SAI_RECIPIENT_ADDRESS}`; // Address of the recipient
const decimals = 18; // Number of decimals the $AI token uses
const amountToSend = ethers.utils.parseUnits(
(parseInt(numRows) / 10).toString(),
Expand Down

0 comments on commit f2b15ab

Please sign in to comment.