deploy local is compiling but i get this error running the deploy.sh to ‘ic’
…
Please enter a passphrase for your identity: [hidden]
Decryption complete.
error: parser error
┌─ Candid argument:1:28
│
1 │ (record {owner = principal “”; storage_space = null})
│ ^^ Text is too short.
Error: Failed to create argument blob.
Caused by: Failed to create argument blob.
Invalid argument: Invalid Candid values: Candid parser error: Text is too short. at 27…29
(base) douglassmith@Douglass-MacBook-Pro minting-starter %
@skilesare … love this project thanks.
more of an artist that a developer here so i may well be over my head .
watched the api walk thru. i cant seem to post any nfts for sale as i stand. the phonebook stand in is confusing. guessing a piece is missing for nft sales to be processed.
the origyn_os looks intriguing.
looking forward to further progress.
You don’t have to use the phone book…you can just use your canister id(not as pretty). Let me know where you are having issues and I’ll try to help. We have an upcoming video as well.
There should be some scripts in the various test folders on origy_nft and the test_sales_canister file should have some decent tests that show the set up. We have a dapp with some gui features but we haven’t released that one yet. I’ll try to get a status update tomorrow.
Well…depends on if you have dfx access to your principal. Feel free to send me the link and I’ll try to take a look…I can also connect you with a dev to debug.
i think ownership and the principals may be mismatched
douglassmith@Douglass-MacBook-Pro minting-starter % dfx identity get-principal
Please enter a passphrase for your identity: [hidden]
Decryption complete.
v7at5-idcfg-y5qih-5puko-d5dcl-mhdcq-aepyz-e3ymy-kp43z-b6gsl-pae
Which principal are you logged in as? You need to be logged in as the principal that owns the nft to start an auction with it.
You have a couple different strategies currently if you want to sell a collection with a constant price. You can make the owner your dfx identity and then manage them via dfx starting an auction that has a min == buy it now price. Or you can try to use the sales canister that is included…but we don’t have a public front end for that yet.
Likely you want to do something like this from the NFT owner(check the API because this was an old command I had sitting around):
One more note. I don’t think we support an auction if the NFT hasn’t been minted yet. So if you want to use the above you’ll need to need to call mint_nft_origyn on it and assign the owner as your dfx principal.