This doc has been replaced by the official Ordinals Handbook - https://docs.ordinals.com/guides/collecting/sparrow-wallet.html
This file contains 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
const handleMintClick = async (evt) => { | |
if( evt && evt.cancelable ) | |
evt.preventDefault(); | |
try{ | |
//usually returns a BN (BigNumber) | |
const priceBN = await contract.methods.PRICE().call(); | |
const quantityBN = new Web3.utils.BN( `${quantity}` ); | |
const valueBN = priceBN.mul( quantityBN ); |
This file contains 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
const blockhash = "0x5cb3e33c31019c9e5f77f354f150e4d74eb95a029a69738d45c176bc1447e444" | |
const fs = require("fs").promises | |
const seedrandom = require("seedrandom") | |
const chooser = require("random-seed-weighted-chooser").default | |
const SparkMD5 = require("spark-md5") | |
const random = seedrandom(blockhash) | |
const uniques = [{ |
This file contains 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 requests | |
import time | |
# change the address here to be your desired NFT | |
url = "https://api.opensea.io/asset/0x772c9181b0596229ce5ba898772ce45188284379/" | |
update_flag = "/?force_update=true" | |
ids = [ i for i in range(2604, 2633)] | |
for i in ids: |
This file contains 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
const axios = require("axios") | |
//An array of Discord Embeds. | |
let embeds = [ | |
{ | |
title: "Discord Webhook Example", | |
color: 5174599, | |
footer: { | |
text: `📅 ${date}`, | |
}, |
This file contains 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
<script type="x-shader/x-vertex" id="vertexshader"> | |
attribute float size; | |
attribute vec3 customColor; | |
varying vec3 vColor; | |
void main() { | |
vColor = customColor; | |
vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 ); |
Create the backend for a bootcamp directory website. The frontend/UI will be created by another team (future course). The html/css template has been created and can be used as a reference for functionality. All of the functionality below needs to be fully implmented in this project.
- List all bootcamps in the database
- Pagination
- Select specific fields in result
- Limit number of results
- Filter by fields
This file contains 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
/* | |
Requires to have eslint and eslint-plugin vue installed locally. | |
(npm i -g eslint eslint-plugin-vue) | |
https://vuejs.github.io/eslint-plugin-vue/rules/ | |
Put this in a ".eslintrc.json" at the root of the repository. | |
You can also put in in your $HOME. | |
*/ |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.17254902422428131</real> |
NewerOlder