Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creations on chain #265

Merged
merged 7 commits into from
Jan 17, 2023
Merged

Creations on chain #265

merged 7 commits into from
Jan 17, 2023

Conversation

huzaifa-99
Copy link
Contributor

@huzaifa-99 huzaifa-99 commented Jan 17, 2023

Ticket/s:

Desc:
Now a user can pay ADA to upload their own non-draft creations on chain. Currently any creation even with a pending CAW, litigation or any authorship problem will be stored on chain.

The transaction amount is sent to a testnet/preview wallet address.

In frontend, the build scripts/tool has been changed from react-scripts to craco

Visual/s:

A creation not published to chain looks like this

Screenshot 2023-01-17 at 4 48 23 PM
Screenshot 2023-01-17 at 4 48 55 PM

After publishing it changes status

Screenshot 2023-01-17 at 4 49 57 PM
Screenshot 2023-01-17 at 4 50 27 PM

Merge Checklist:

  • 1- Update live DB
  • 2- Update ERD

@huzaifa-99 huzaifa-99 self-assigned this Jan 17, 2023
@netlify
Copy link

netlify bot commented Jan 17, 2023

Deploy Preview for pocre canceled.

Name Link
🔨 Latest commit bafeaf3
🔍 Latest deploy log https://app.netlify.com/sites/pocre/deploys/63c695a1f61096000707e72e

@@ -128,6 +128,7 @@ const init = async (): Promise<QueryResult<any>> => {
is_claimable bool default true,
ipfs_hash character varying,
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
is_onchain bool default false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new field added to db

@huzaifa-99 huzaifa-99 merged commit 133b771 into main Jan 17, 2023
@huzaifa-99 huzaifa-99 deleted the creations-onchain branch January 21, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant