Skip to content

Instantly share code, notes, and snippets.

View Violet-Bora-Lee's full-sized avatar
๐Ÿ’œ
I code, build and act.

Bora Lee Violet-Bora-Lee

๐Ÿ’œ
I code, build and act.
View GitHub Profile
@Violet-Bora-Lee
Violet-Bora-Lee / FarmToken.sol
Created November 22, 2025 01:31
์Šค๋งˆํŠธํŒœ ๋ณด์ƒ ํ† ํฐ ์ฝ”๋“œ
// SPDX-License-Identifier: MIT
pragma solidity 0.8.29;
import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol";
contract FarmToken is ERC20 {
address public admin;
// Mapping from activity name to reward points
mapping(string => uint256) public activityRewardPoints;
@Violet-Bora-Lee
Violet-Bora-Lee / GinsengProductionHistory.sol
Created November 22, 2025 01:27
์Šค๋งˆํŠธํŒœ ์ด๋ ฅ ์ถ”์  ์ฝ”๋“œ
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
contract GinsengProductionHistory {
struct Ginseng {
string name;
uint256 plantingDate;
}
struct GrowthRecord {
@Violet-Bora-Lee
Violet-Bora-Lee / erc-20-premit.sol
Created November 22, 2025 00:30
ERC-20 with ์ˆ˜์‹ ์ž ์ง€์ •
// SPDX-License-Identifier: MIT
// Compatible with OpenZeppelin Contracts ^5.5.0
pragma solidity ^0.8.27;
import {ERC20} from "@openzeppelin/[email protected]/token/ERC20/ERC20.sol";
import {ERC20Permit} from "@openzeppelin/[email protected]/token/ERC20/extensions/ERC20Permit.sol";
contract MyToken is ERC20, ERC20Permit {
constructor(address recipient)
ERC20("MyTokenTest", "MTKT")
@Violet-Bora-Lee
Violet-Bora-Lee / README.md
Created November 19, 2025 23:46
๋ฉ”๊ฐ€์กด ๋ฐ”์ด๋ธŒ์ฝ”๋”ฉ ์›๋ฐ์ด ํด๋ž˜์Šค
@Violet-Bora-Lee
Violet-Bora-Lee / deploy.js
Last active October 27, 2025 01:12
ํ•˜๋‚˜๊ธˆ์œต-Hardhat์‹ค์Šต
// npx hardhat run scripts/deploy.js ๋กœ ์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰
// hre stands for Hardhat Runtime Environment
const hre = require("hardhat");
// console.log(hre);
async function main() {
const currentTimestampInSeconds = Math.round(Date.now() / 1000);
@Violet-Bora-Lee
Violet-Bora-Lee / MyTest.sol
Created October 27, 2025 00:44
ํ•˜๋‚˜๊ธˆ์œต-Hardhat์‹ค์Šต
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.28;
// Import the hardhat console
import "hardhat/console.sol";
contract MyTest {
uint256 public unlockTime;
address payable public owner;
event Widthrawal(uint256 amount, uint256 when);
@Violet-Bora-Lee
Violet-Bora-Lee / n8n-basics.md
Last active September 21, 2025 03:23
N8N ๊ธฐ์ดˆ
@Violet-Bora-Lee
Violet-Bora-Lee / stepn-whitepaper.md
Last active August 23, 2025 00:07
STEPN Whitepaper

Overview

A Web3 Lifestyle Revolution

A Web3 Lifestyle Revolution: STEPN, at its core, is a Web3 lifestyle application that integrates game and social elements, making everyday movement not just beneficial for health but also rewarding in the digital space. As a trailblazer in Web3 lifestyle product, STEPN distinguished itself by securing the 4th position among 500+ contenders at the Solana Ignition Hackathon 2021, marking a significant milestone in bringing the concept to life.

Earning Through Movement: By equipping NFT Sneakers, users are encouraged to walk, jog, or run outdoors, earning game Tokens and NFTs in the process. This innovative approach not only incentivises physical activity but also offers users the flexibility to utilise their Tokens and NFTs within the game or convert them to other forms of tokens.

A Mission Beyond Gaming: Within its gamification foundation, STEPN aspires to inspire millions to embrace a healthier lifestyle, contribute to combating climate change, and fa

@Violet-Bora-Lee
Violet-Bora-Lee / blockchain-ama.md
Created August 20, 2025 07:44
'๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ, ์ทจ์—… AMA' ์„ธ์…˜ ์š”์•ฝ (host: ์กฐ์—˜, ์ด๋ณด๋ผ)

ํŠธ์œ„ํ„ฐ ์ŠคํŽ˜์ด์Šค ์š”์•ฝ (2025.09.26, ์•ฝ 230๋ช… ์ฐธ์—ฌ)

๋ณธ ํ–‰์‚ฌ๋Š” 9์›” 26์ผ ์ง„ํ–‰๋œ ํŠธ์œ„ํ„ฐ ์ŠคํŽ˜์ด์Šค์—์„œ ๋‹ค๋ฃฌ ๋‚ด์šฉ์„ ์š”์•ฝํ•œ ๋ฌธ์„œ์ž…๋‹ˆ๋‹ค.
๋‹ค์‹œ ๋“ฃ๊ธฐ๋Š” ๐Ÿ‘‰ ์ŠคํŽ˜์ด์Šค ๋งํฌ


๋ธ”๋ก์ฒด์ธ ๋ถ„์•ผ์—์„œ์˜ ๊ฒฝ๋ ฅ๊ณผ ์ทจ์—…

  • ๊ฐœ๋ฐœ์ž์˜ ์ž…๋ฌธ๊ณผ ์ปค๋ฆฌ์–ด: DeFi, NFT ๊ฑฐ๋ž˜์†Œ ๊ฒฝํ—˜์„ ์‹œ์ž‘์œผ๋กœ ๋‹ค์–‘ํ•œ ํ”„๋กœํ† ์ฝœ ๊ฐœ๋ฐœ์— ์ฐธ์—ฌ.
  • ๋„คํŠธ์›Œํ‚น์˜ ์ค‘์š”์„ฑ: ๊ฐ๊ด€์  ์‹ค๋ ฅ ์ฆ๋ช… ์ž๋ฃŒ(์ฝ”๋“œ, ๋ธ”๋กœ๊ทธ ๋“ฑ)๋ฅผ ํ†ตํ•œ ์ฑ„์šฉ ๊ธฐํšŒ ํ™•๋Œ€.