No description
  • JavaScript 43.7%
  • Solidity 41.7%
  • HTML 14.3%
  • CSS 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-12-21 09:54:44 -08:00
.github/workflows chore: forge init 2024-04-19 17:53:27 -07:00
app Deployed contracts to mainnet. 2024-12-20 19:59:08 -08:00
broadcast/Deploy.s.sol/1 Deployed contracts to mainnet. 2024-12-20 19:59:08 -08:00
lib forge install: sstore2 2024-04-28 20:16:00 -07:00
promo Images to make auratic. 2024-12-05 16:05:17 -08:00
script Ready to deploy. 2024-12-04 17:13:33 -08:00
src Aura display and sound now work. 2024-10-28 12:19:38 -07:00
test Aura display and sound now work. 2024-10-28 12:19:38 -07:00
.gitignore This works. Add some validation. Change aura colour? 2024-05-01 22:53:02 -07:00
.gitmodules forge install: sstore2 2024-04-28 20:16:00 -07:00
.solhint.json Lint the Solidity and start a Next.js project for the app. 2024-04-23 14:13:43 -07:00
.solhintignore Lint the Solidity and start a Next.js project for the app. 2024-04-23 14:13:43 -07:00
eslint.config.js Vanilla WIP 2. 2024-09-10 16:35:46 -07:00
foundry.toml Deployed contracts to mainnet. 2024-12-20 19:59:08 -08:00
package.json Vanilla WIP #3, plus build system modernization. 2024-09-12 17:14:09 -07:00
README.md Fix README formatting. 2024-12-21 09:54:44 -08:00
remappings.txt Vanilla WIP 2. 2024-09-10 16:35:46 -07:00
wagmi.config.js Vanilla WIP #3, plus build system modernization. 2024-09-12 17:14:09 -07:00
yarn.lock Vanilla WIP #3, plus build system modernization. 2024-09-12 17:14:09 -07:00

UTIL / INU / AURA

UTIL: Utilitarian "utils" - a measure of value for utility functions.

https://etherscan.io/address/0xcbbb81a8f6cdd484b6375329589a1b81bf1a2fea

INU: A measure of inutility - the waste, denial, or absence of utility.

https://etherscan.io/address/0xacd70babcbe33f2e38d7330b189a6412150aecc6

AURA: The aura of art - its presence, cultural cachet, or specialness.

https://etherscan.io/address/0xa2d06567ac268a54d15fdee7e809c52d2b9f0f74

Displaying a Single NFT

You can pass the NFT's contract address and token id as query parameters to the app, e.g.:

app?contract=0xa513E6E4b8f2a923D98304ec87F64353C4D5C853&id=1

Note that you will need to approve the sound autoplay using this method if you wish to hear it.

Notes

Uses code from https://github.com/tokenbound/contracts .

Uses sound from https://freesound.org/people/magnuswaker/sounds/581166/

Development

Run Tests

forge test

Deploy Locally

This is anvil's local account 0 key.

anvil
forge script script/Deploy.s.sol --broadcast --chain-id 31337 --rpc-url http://127.0.0.1:8545 \
    --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
yarn wagmi generate
python -m http.server

Deploy to Mainnet

export MAINNET_RPC_URL="xxx"
export ETHERSCAN_KEY="xxx"
export SENDER_ADDRESS="xxx"
export DERIVATION_PATH="xxx"

forge script script/Deploy.s.sol:Deploy \
    --rpc-url "${MAINNET_RPC_URL}" \
    --etherscan-api-key "${ETHERSCAN_KEY}" \
    --sender "${SENDER_ADDRESS}" \
    --mnemonic-derivation-paths "${DERIVATION_PATH}" \
    --trezor --broadcast --verify -vvvv