This file contains hidden or 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
import React, { useState } from "react"; | |
import Stack from "@mui/material/Stack"; | |
import Box from "@mui/material/Box"; | |
import Button from "@mui/material/Button"; | |
import { Transak } from "@transak/transak-sdk"; | |
import Pusher from "pusher-js"; | |
import { parseUnits } from "@ethersproject/units"; | |
import { Interface, Logger } from "ethers/lib/utils"; | |
import envConfig from "../config"; |
This file contains hidden or 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
import React, { useState } from "react"; | |
import Stack from "@mui/material/Stack"; | |
import Box from "@mui/material/Box"; | |
import Button from "@mui/material/Button"; | |
import { Transak } from "@transak/transak-sdk"; | |
import Pusher from "pusher-js"; | |
import envConfig from "../config"; | |
let pusher = new Pusher("1d9ffac87de599c61283", { cluster: "ap2" }); |
This file contains hidden or 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
import React, { useState } from "react"; | |
import Stack from "@mui/material/Stack"; | |
import Box from "@mui/material/Box"; | |
import Button from "@mui/material/Button"; | |
import { Transak } from "@transak/transak-sdk"; | |
import Pusher from "pusher-js"; | |
import envConfig from "../config"; | |
let pusher = new Pusher("1d9ffac87de599c61283", { cluster: "ap2" }); |
This file contains hidden or 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
import React, { useEffect } from "react"; | |
import { Transak } from "@transak/transak-sdk"; | |
import Stack from "@mui/material/Stack"; | |
import Box from "@mui/material/Box"; | |
import config from "../config"; | |
// add the following lines to your css file to target the Transak Widget Container | |
// #transakMount { | |
// height: 650px; | |
// width: 400px; |
NewerOlder