Skip to content

Commit

Permalink
feat: Add staging storage (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
soar authored Sep 21, 2024
1 parent ee22647 commit 20417e8
Show file tree
Hide file tree
Showing 589 changed files with 5,575 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/s3_deploy_staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Upload assets to AWS S3

on:
pull_request:
branches: [ main ]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4
with:
aws-region: ${{ vars.AWS_REGION || 'us-east-1' }}
role-to-assume: ${{ secrets.AWS_IAM_ROLE }}

- name: Deploy static site to S3 bucket
run: aws s3 sync ./aws_s3_assets_staging/ s3://trait-wallet-demo-account-staging.trait.tech/ --delete
14 changes: 14 additions & 0 deletions aws_s3_assets_staging/game-a/app-agent-a/app-agent-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"metadata_id": "demo-app-agent-a",
"title": "Metadata of the demo AppAgent that represents the game Starlit Horizon.",
"description": "Metadata of the demo AppAgent that represents the game Starlit Horizon.",
"traits": {
"named": {
"name": "Starlit Horizon"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/app-agent-a/icon_150x150.png"
}
}
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions aws_s3_assets_staging/game-a/fungible-a-a/fungible-a-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"metadata_id": "demo-fungible-a-a",
"title": "Metadata of the demo fungible token for the game Starlit Horizon.",
"description": "Metadata of the demo fungible token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Luminara"
},
"fungible": {
"symbol": "LMN",
"decimals": 12
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/fungible-a-a/icon_150x150.png"
}
}
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions aws_s3_assets_staging/game-a/fungible-a-b/fungible-a-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"metadata_id": "demo-fungible-a-b",
"title": "Metadata of the demo fungible token for the game Starlit Horizon.",
"description": "Metadata of the demo fungible token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Echo Gems"
},
"fungible": {
"symbol": "ECHO",
"decimals": 0
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/fungible-a-b/icon_150x150.png"
}
}
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions aws_s3_assets_staging/game-a/fungible-a-c/fungible-a-c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"metadata_id": "demo-fungible-a-c",
"title": "Metadata of the demo fungible token for the game Starlit Horizon.",
"description": "Metadata of the demo fungible token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Starlume"
},
"fungible": {
"symbol": "LUME",
"decimals": 12
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/fungible-a-c/icon_150x150.png"
}
}
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"metadata_id": "demo-nft-collection-a-a",
"title": "Metadata of the demo NFT collection for the game Starlit Horizon.",
"description": "Metadata of the demo NFT collection for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Swords"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-collection-a-a/icon_150x150.png"
},
"tech.trait.wallet.nft_collection_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-collection-a-a/listing_512x512.png"
}
}
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"metadata_id": "demo-nft-token-a-a-a",
"title": "Metadata of the demo NFT token for the game Starlit Horizon.",
"description": "Metadata of the demo NFT token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Blood Reaver"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-a/icon_150x150.png"
},
"tech.trait.wallet.nft_token_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-a/listing_512x512.png"
},
"tech.trait.wallet.nft_token_cover_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-a/cover_1920x1920.png"
},
"tech.trait.wallet.nft_token_description": {
"nft_token_description": "This striking sword features a long, sleek blade with a dark metallic sheen, accentuated by glowing red patterns that hint at its magical properties. Its design includes a dramatic, ornate hilt with pronounced cross-guard elements, enhancing both its aesthetic appeal and combat functionality. The balance of the sword allows for swift, powerful strikes, making it an ideal choice for both melee encounters and display. Crafted with an ancient technique, this weapon not only serves as a formidable tool in battle but also as a symbol of power and mastery. Wielding this blade might invoke fear in enemies and awe among allies."
},
"tech.trait.wallet.nft_token_attributes": {
"attributes": [
{
"name": "Base attack",
"display_type": "number",
"value": 75
},
{
"name": "Critical damage",
"display_type": "percentage",
"value": 25
}
]
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"metadata_id": "demo-nft-token-a-a-b",
"title": "Metadata of the demo NFT token for the game Starlit Horizon.",
"description": "Metadata of the demo NFT token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Abyssal Edge"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-b/icon_150x150.png"
},
"tech.trait.wallet.nft_token_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-b/listing_512x512.png"
},
"tech.trait.wallet.nft_token_cover_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-b/cover_1920x1920.png"
},
"tech.trait.wallet.nft_token_description": {
"nft_token_description": "This stunning sword features a slender, elegant design with a gleaming blue blade adorned with intricate silver patterns. The hilt is embellished with ornate details, including a distinctive guard shaped like fierce, stylized wolf heads. Its vibrant color suggests a mystical origin, hinting at powerful enchantments imbued within the weapon. Crafted for both beauty and practicality, the sword offers remarkable balance and sharpness, making it ideal for swift, graceful strikes in battle. A symbol of strength and nobility, this weapon is perfect for heroes and adventurers seeking to conquer foes and uphold justice in a fantastical realm."
},
"tech.trait.wallet.nft_token_attributes": {
"attributes": [
{
"name": "Base attack",
"display_type": "number",
"value": 75
},
{
"name": "Physical damage",
"display_type": "percentage",
"value": 20
}
]
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"metadata_id": "demo-nft-token-a-a-c",
"title": "Metadata of the demo NFT token for the game Starlit Horizon.",
"description": "Metadata of the demo NFT token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Celestial Featherblade"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-c/icon_150x150.png"
},
"tech.trait.wallet.nft_token_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-c/listing_512x512.png"
},
"tech.trait.wallet.nft_token_cover_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-c/cover_1920x1920.png"
},
"tech.trait.wallet.nft_token_description": {
"nft_token_description": "This exquisite sword features a sleek, curved blade crafted from shimmering silver, reflecting light with a pristine finish. Adorned with intricate engravings, its hilt boasts elegant filigree and stunning gemstones that enhance its majestic appearance. The guard is embellished with ornamental feathers, adding a touch of ethereal grace. This weapon is not just a tool of combat; it serves as a symbol of nobility and honor, embodying both beauty and strength. Perfect for both aesthetic appreciation and fierce battles, it is favored by heroes and adventurers alike, enhancing their prowess while making a bold statement in any realm."
},
"tech.trait.wallet.nft_token_attributes": {
"attributes": [
{
"name": "Base attack",
"display_type": "number",
"value": 85
},
{
"name": "Critical rate",
"display_type": "percentage",
"value": 10
}
]
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"metadata_id": "demo-nft-token-a-a-d",
"title": "Metadata of the demo NFT token for the game Starlit Horizon.",
"description": "Metadata of the demo NFT token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Bladesinger's Edge"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-d/icon_150x150.png"
},
"tech.trait.wallet.nft_token_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-d/listing_512x512.png"
},
"tech.trait.wallet.nft_token_cover_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-d/cover_1920x1920.png"
},
"tech.trait.wallet.nft_token_description": {
"nft_token_description": "This exquisite sword features a long, gleaming blade with intricate red and silver designs that catch the light beautifully. Its hilt is adorned with elegant gold accents, providing an eye-catching contrast to the ornate craftsmanship of the blade. The sword's guard is unique, with a shape that offers both style and functional protection for the wielder’s hand. Perfectly balanced, this weapon is not only a symbol of power and prestige but is also designed for combat efficiency, making it a coveted item for adventurers and collectors alike. Its history adds to its allure, hinting at legendary battles fought with it."
},
"tech.trait.wallet.nft_token_attributes": {
"attributes": [
{
"name": "Base attack",
"display_type": "number",
"value": 65
},
{
"name": "Critical damage",
"display_type": "percentage",
"value": 20
}
]
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"metadata_id": "demo-nft-token-a-a-e",
"title": "Metadata of the demo NFT token for the game Starlit Horizon.",
"description": "Metadata of the demo NFT token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Shadow Scepter"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-e/icon_150x150.png"
},
"tech.trait.wallet.nft_token_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-e/listing_512x512.png"
},
"tech.trait.wallet.nft_token_cover_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-e/cover_1920x1920.png"
},
"tech.trait.wallet.nft_token_description": {
"nft_token_description": "The item is an ornate staff, embodying a blend of elegance and dark power. Its sleek silver shaft glimmers with intricate engravings that tell tales of ancient magic. At either end, menacing, jewel-like fixtures display captivating purple stones, radiating an aura of mystique. The design is both functional and decorative, reflecting its use as a potent weapon in battle and a revered artifact among mages. Perfectly balanced, it allows for precise casting of spells while enhancing the wielder's magical abilities. This staff not only serves as a tool of sorcery but also as a symbol of authority and mastery over the arcane."
},
"tech.trait.wallet.nft_token_attributes": {
"attributes": [
{
"name": "Attack",
"display_type": "percentage",
"value": 15
},
{
"name": "Critical damage",
"display_type": "percentage",
"value": 15
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"metadata_id": "demo-nft-token-a-a-f",
"title": "Metadata of the demo NFT token for the game Starlit Horizon.",
"description": "Metadata of the demo NFT token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Shadowfang"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-f/icon_150x150.png"
},
"tech.trait.wallet.nft_token_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-f/listing_512x512.png"
},
"tech.trait.wallet.nft_token_cover_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-f/cover_1920x1920.png"
},
"tech.trait.wallet.nft_token_description": {
"nft_token_description": "Behold the Celestial Blade, a mesmerizing weapon forged in the fires of ancient magic. This sword boasts a striking, elongated design with a shimmering, greenish blade that seems to glow with an ethereal light. Intricate dark gold embellishments decorate the hilt, culminating in a radiant gem that pulses with power. The balance of the sword allows for swift, graceful strikes, while its mystical aura hints at hidden abilities to unleash devastating attacks against foes. Legends tell of its capacity to absorb the essence of defeated enemies, granting the wielder strength and enhancing their combat prowess in challenging battles."
},
"tech.trait.wallet.nft_token_attributes": {
"attributes": [
{
"name": "Base attack",
"display_type": "number",
"value": 30
},
{
"name": "Physical damage",
"display_type": "percentage",
"value": 28
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"metadata_id": "demo-nft-token-a-a-g",
"title": "Metadata of the demo NFT token for the game Starlit Horizon.",
"description": "Metadata of the demo NFT token for the game Starlit Horizon.",
"traits": {
"named": {
"name": "Eclipse Blade"
},
"tech.trait.wallet.square_icon": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-g/icon_150x150.png"
},
"tech.trait.wallet.nft_token_listing_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-g/listing_512x512.png"
},
"tech.trait.wallet.nft_token_cover_image": {
"image_url": "https://trait-wallet-demo-account.trait.tech/game-a/nft-collection-a-a/nft-token-a-a-g/cover_1920x1920.png"
},
"tech.trait.wallet.nft_token_description": {
"nft_token_description": "The item is a beautifully crafted sword, characterized by its sleek, elongated blade and ornate golden hilt. The intricate design features flowing motifs that enhance its regal appearance, suggesting a rich history and powerful origins. The weapon is both a symbol of authority and a formidable tool in battle, promising precision and strength. Its craftsmanship indicates that it is not just a mere weapon, but a legendary artifact desired by warriors and collectors alike. This sword is ideal for those seeking to combine elegance with lethal efficiency on their quest for glory. Its allure is irresistible to any adventurer."
},
"tech.trait.wallet.nft_token_attributes": {
"attributes": [
{
"name": "Base attack",
"display_type": "number",
"value": 85
},
{
"name": "Critical rate",
"display_type": "percentage",
"value": 10
}
]
}
}
}
Loading

0 comments on commit 20417e8

Please sign in to comment.