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 axios from "axios"; | |
| export const API_BASE_URL = | |
| "https://rapyd-staging-server-b442066858cb.herokuapp.com/api/v1/"; | |
| const axiosInstance = axios.create({ | |
| baseURL: API_BASE_URL, | |
| }); | |
| // request interceptor for adding bearer tokens |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="main.css"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <div class="flex justify-between md:space-x-2 w-fit mx-auto mt-20 flex-col md:flex-row"> |
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
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| contract MyToken is ERC20 { | |
| address public owner; | |
| constructor(uint256 initialSupply) ERC20("MyToken", "MTK") { | |
| _mint(msg.sender, initialSupply); |