Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
rckprtr committed Sep 9, 2021
0 parents commit 0a7125b
Show file tree
Hide file tree
Showing 18 changed files with 3,032 additions and 0 deletions.
142 changes: 142 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env.production

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# random
.DS_STORE

# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb


# dfx
.dfx/
scripts/
canister_ids.json
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[workspace]
members = [
"src/ic_loot_rs",
]

[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
34 changes: 34 additions & 0 deletions dfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"version": 1,
"canisters": {
"ic_loot_rs": {
"type": "custom",
"candid": "src/ic_loot_rs/ic_loot.did",
"wasm": "target/wasm32-unknown-unknown/release/ic_loot_rs.wasm",
"build": "cargo build --target wasm32-unknown-unknown --release --package ic_loot_rs"
},
"ic_loot_assets": {
"dependencies": [
"ic_loot_rs"
],
"frontend": {
"entrypoint": "dist/index.html"
},
"source": [
"dist/"
],
"type": "assets"
}
},
"dfx": "0.8.1",
"defaults": {
"build": {
"output": "canisters/"
},
"start": {
"address": "127.0.0.1",
"port": 8000,
"serve_root": "canisters/eeoo/assets"
}
}
}
47 changes: 47 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IC DRIP</title>
<meta
name="description"
content="IC Drip are randomly generated meta-commerce shopping carts for outfits
and personas stored on chain. Stats, images, and other functionality are
intentionally omitted for others to interpret. Feel free to use IC Drip in
any way you want."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://icdrip.io/" />
<meta property="og:title" content="IC DRIP" />
<meta
property="og:description"
content="IC Drip are randomly generated meta-commerce shopping carts for outfits
and personas stored on chain. Stats, images, and other functionality are
intentionally omitted for others to interpret. Feel free to use IC Drip in
any way you want."
/>
<meta property="og:image"
content="https://dvr6e-lqaaa-aaaai-qam5a-cai.raw.ic0.app/ic_drip.png">

<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://icdrip.io/" />
<meta property="twitter:title" content="IC DRIP" />
<meta
property="twitter:description"
content="IC Drip are randomly generated meta-commerce shopping carts for outfits
and personas stored on chain. Stats, images, and other functionality are
intentionally omitted for others to interpret. Feel free to use IC Drip in
any way you want."
/>
<meta property=twitter:image
content=https://dvr6e-lqaaa-aaaai-qam5a-cai.raw.ic0.app/ic_drip.png>
</head>


<body style="background-color: #1a1a1a">
<div id="app"></div>
<script type="module" src="/src/ic_loot_assets/main.js"></script>
</body>
</html>
Loading

0 comments on commit 0a7125b

Please sign in to comment.