Owniverse
OWNiverse is designed to bridge the gap between everyday users and the world of Web3, allowing anyone to easily create and own their own token or project. Our platform makes blockchain innovation accessible to everyone by enabling payments through local banking systems, offering a familiar and convenient process for users.
Install / Use
/learn @pannatron/OwniverseREADME
Owniverse
OWNiverse is designed to bridge the gap between everyday users and the world of Web3, allowing anyone to easily create and own their own token or project. Our platform makes blockchain innovation accessible to everyone by enabling payments through local banking systems, offering a familiar and convenient process for users.
Prerequisites
Before starting the project, make sure you have the following installed:
- Node.js (v14 or higher) - Download here
- npm (comes with Node.js) - You can check if you have it by running
npm -vin your terminal - MetaMask Wallet - Used for connecting and signing blockchain transactions
Installation
-
Clone the repository to your local machine:
git clone https://github.com/pannatron/Owniverse.git -
Navigate to the project directory:
cd Owniverse
3.Create a .env file in the root of the project and fill in the following details:
PRIVATE_KEY=your_deployer_private_key_here
RELAYER_PRIVATE_KEY=your_relayer_private_key_here
RPC_URL=https://rpc-testnet.bitkubchain.io
CHAIN_ID=25925
4.Create a package.json File (if not already present): Ensure your project has a package.json by running:
npm init -y
5.Install Hardhat: Install Hardhat as a development dependency:
npm install --save-dev hardhat
6.Install Hardhat Waffle and Ethers: Add the Hardhat plugins needed for contract development:
npm install --save-dev @nomiclabs/hardhat-waffle @nomiclabs/hardhat-ethers ethers
7.Install OpenZeppelin Contracts: This is necessary for importing contract templates:
npm install @openzeppelin/contracts @openzeppelin/contracts-upgradeable
8.Navigate to the backend directory and install additional dependencies:
cd backend
npm install express body-parser web3@1.7.0 ethers dotenv
npm install --save-dev hardhat
npm install --save-dev @nomiclabs/hardhat-waffle
npm install --save-dev @nomiclabs/hardhat-ethers ethers
9.Compile the smart contracts using Hardhat:
npx hardhat compile
This will generate the artifacts folder and the necessary OwniverseToken.json file that you'll need for deployment.
Running the Project
Running the Backend
- Navigate to the backend folder if you're not already there:
cd backend
- Start the backend server:
node -r esm server.js
The backend server will be running on port 3000.
Frontend Setup
- Navigate to the frontend directory:
cd frontend
- Install dependencies for the frontend (if needed):
npm install
- Start the frontend application (this will depend on the framework used, such as React, Angular, etc.):
For example, if you're using React, run:
npm start
Testing APIs
You can test the backend API using tools like Postman or curl.
Example for creating a token:
curl -X POST http://localhost:3000/api/createToken \
-H "Content-Type: application/json" \
-d '{
"tokenName": "MyToken",
"tokenSymbol": "MTK",
"tokenLogo": "https://example.com/logo.png",
"features": ["mintable", "burnable"],
"userAddress": "0x1234567890abcdef1234567890abcdef12345678"
}'
Example for sending a transaction:
curl -X POST http://localhost:3000/api/sendTransaction \
-H "Content-Type: application/json" \
-d '{
"userAddress": "0x1234567890abcdef1234567890abcdef12345678",
"signature": "0x...",
"message": "I authorize this transaction"
}'
Contributing
Contributions are welcome! If you'd like to contribute, please fork the repository and make your changes in a separate branch. Submit a pull request once your changes are ready.
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Make your changes and commit them:
git commit -m 'Add new feature'. - Push to the branch:
git push origin feature-name. - Submit a pull request.
project-root/
│
├── contracts/
│ └── BOROTToken.sol # Smart contract ของเหรียญ (ERC20) ที่รองรับฟีเจอร์เพิ่มเติม
│
├── scripts/
│ └── deploy.js # สคริปต์ที่ใช้ deploy smart contract โดยใช้ Hardhat
│
├── frontend/
│ ├── index.html # หน้าเว็บไซต์หลักสำหรับให้ผู้ใช้เลือกฟีเจอร์เหรียญ
│ ├── style.css # ไฟล์ CSS สำหรับจัดการหน้าตาเว็บไซต์
│ └── app.js # JavaScript ฝั่ง frontend สำหรับเชื่อมต่อกับ MetaMask และ backend
│
├── backend/
│ ├── server.js # ระบบ backend ที่เชื่อมต่อกับ Biconomy หรือ GSN และ Hardhat
│ └── package.json # ไฟล์สำหรับจัดการ dependencies ของ backend (Node.js)
│
├── hardhat.config.js # การตั้งค่า Hardhat สำหรับการ deploy smart contract
├── .env # เก็บ environment variables เช่น private key และ API keys
└── README.md # คู่มือการใช้งานโปรเจค
Testing APIs
Note: These APIs are designed to work with the Bitkub Chain Testnet.
Related Skills
diffs
331.2kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
openpencil
1.4kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
ui-ux-pro-max-skill
48.5kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
Figma-Context-MCP
13.9kMCP server to provide Figma layout information to AI coding agents like Cursor
