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
[ | |
{ | |
"anonymous":false, | |
"inputs":[ | |
{ | |
"indexed":true, | |
"internalType":"address", | |
"name":"owner", | |
"type":"address" | |
}, |
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
FROM node:16-alpine AS base | |
WORKDIR /app | |
COPY [ "package*.json", "tsconfig.build.json", "tsconfig.json", ".eslintrc.js", ".prettierrc", "yarn.lock" , "./" ] | |
FROM base AS dev | |
ENV NODE_ENV=dev | |
RUN yarn install --frozen-lockfile | |
COPY . . | |
EXPOSE 3001 |
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.10; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "./NFT.sol"; | |
contract Marketplace is ReentrancyGuard { |
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.10; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
contract NFT is ERC721, ERC721URIStorage { | |
using Counters for Counters.Counter; | |
Counters.Counter private _tokenIds; |
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 'package:flutter/material.dart'; | |
import 'package:flutter/scheduler.dart'; | |
import 'package:flutter/foundation.dart' show kIsWeb; | |
import 'dart:math' as Math; | |
class Swipable extends StatefulWidget { | |
final List<Widget> children; | |
const Swipable({Key key, |