diff --git a/Cargo.toml b/Cargo.toml index 3724e87..c196bfa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,10 @@ [workspace] -# let members inline members = ["package", "contracts/otcer", "tests", "scripts"] [workspace.package] version = "0.1.0" edition = "2021" -authors = ["Giacomo Encicliati "] +authors = ["Rhaki"] [workspace.dependencies] diff --git a/NOTICE b/NOTICE index 49e7574..410f09e 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -Copyright 2023 Giacomo Encicliati +Copyright 2023 Rhaki Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index ab9b929..c41a0dc 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,3 @@ -## CosmWasm contracts template workspace enable +# OTCer: Over-The-Counter Token Exchange Protocol -Advanced tool to generate CosmWasm template for advanced project - -### Create new repo: - -```ssh -cargo generate --git https://github.com/Rhaki/rhaki-cw-template.git --name project_name -``` - -The repo will be created with `workspace` defined on the primary `Cargo.toml` - -### Add a contract into the project: -``` -cargo make add-contract -``` - -This command launches a python script that: -- Create a new folder structure for the contract at the path `./contracts/`; -- Adds the new contract to members in the `workspace`; -- Create a new file inside `./package/src/` -- Insert the export of the new file created in `./package/src/lib.rs` +OTCer is a pioneering protocol designed to facilitate the seamless exchange of native tokens, CW20 tokens, and NFTs between two users. The protocol allows for the specification of multiple items by both parties involved in the OTC. Additionally, OTCer supports the customization of cliff and vesting periods for each individual item being exchanged. \ No newline at end of file diff --git a/scripts/src/bin/clone_nfts.rs b/scripts/src/bin/clone_nfts.rs index 6afbbdf..08f8e8a 100644 --- a/scripts/src/bin/clone_nfts.rs +++ b/scripts/src/bin/clone_nfts.rs @@ -10,6 +10,7 @@ use rhaki_cw_plus::{math::IntoDecimal, traits::IntoBinary}; const GRPC_FROM: &str = "https://terra-grpc.polkachu.com:11790"; const GRPC_TO: &str = "https://terra-testnet-grpc.polkachu.com:11790"; +// TEST WALLET const SEED_PHRASE: &str = "client duty genre image fancy image lake rescue doll thunder garage oppose source spare wise yellow moment theme bind alcohol motion tribe gas damage"; const ADDRESS_TO_CLONE: &str = "terra16ds898j530kn4nnlc7xlj6hcxzqpcxxk4mj8gkcl3vswksu6s3zszs8kp2"; // GP