Skip to content

Commit

Permalink
chore: update lib.cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
Darlington02 committed Dec 9, 2024
1 parent 5ddc1bb commit 8cae4e1
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,3 @@ pub mod hub;
pub mod jolt;
pub mod community;
pub mod channel;

use coloniz::base::token_uris::profile_token_uri::ProfileTokenUri::get_token_uri;
use coloniz::base::constants::types::{
ProfileVariants, AccessoryVariants, FaceVariants, ClothVariants, BackgroundVariants,
BodyVariants, ToolVariants
};

fn main() {
let profile_variant = ProfileVariants {
body: BodyVariants::BODY1,
tool: ToolVariants::TOOL1,
background: BackgroundVariants::BACKGROUND1,
cloth: ClothVariants::CLOTH1,
face: FaceVariants::FACE1,
accessory: AccessoryVariants::ACCESSORY1
};

let base_uri: ByteArray = "https://api.coloniz.com/images/";
let image_url = format!("{}{}", base_uri, 1);
let token_uri: ByteArray = get_token_uri(profile_variant, 1, 3, image_url);
println!("{:?}", token_uri);
}

0 comments on commit 8cae4e1

Please sign in to comment.