worldwide-asset-exchange/wax-expresstrade-contract
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
--- Wax Express Trade Project --- - How to Build - - cd to 'build' directory - run the command 'cmake ..' - run the command 'make' - After build - - The built smart contract is under the 'Barter' directory in the 'build' directory - You can then do a 'set contract' action with 'cleos' and point in to the './build/Barter' directory - Additions to CMake should be done to the CMakeLists.txt in the './src' directory and not in the top level CMakeLists.txt ----------------- WAX WET 2.0 migration important steps ----------------- Before deploying need to do migration 1) deploy wasm from folder Migration1 build\Migration\Migration1 and call action migrate ./cleos.sh --verbose push action waxexpresstrade migrate '[]' -p alexplayer11 2) deploy wasm from folder Migration2 build\Migration\Migration2 and call action migrateback ./cleos.sh --verbose push action waxexpresstrade migrateback '[]' -p alexplayer11 3) deploy wasm from folder build build\ continue work with this wasm ----------------- WAX WET 2.0 Setup ----------------- Important steps before deploying: 1) Create eosio account for receiceving community fee. 2) Change in wax-expresstrade-contract\include\common.h file variable with created name of community fee account: const name COMMUNITY_FEE_ACCOUNT = "communityfee"_n; 3) rebuild and deploy wax wet express wasm If you want to test receiving author`s fee. 1) Create simpleassets record for author of NFT. ./cleos.sh push action simpleassets regauthor '["nft_author_here", "{\"defaultfee\":333}", "", "" ]' -p nft_author_here@active author`s fee is in dappinfo parameter in json format Example: "{\"defaultfee\":333}". Author`s fee must be between 0 and 500. 2) For changing author`s fee use authorupdate action: ./cleos.sh push action simpleassets authorupdate '[ "nft_author_here", "{\"defaultfee\":333}", "", "" ]' -p nft_author_here@active ------------------------------------------------------
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published