vikiival / mimick

Indexer for ink! based NFTs
GNU General Public License v3.0
1 stars 3 forks source link

[TASK] Create script for testing #12

Open vikiival opened 1 year ago

vikiival commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently I need to manually call factory on marketplace contract that consumes some time.

Screenshot 2023-01-23 at 13 28 21

As we spoke on call #11 It would be nice to have script that would create more smart contracts.

Describe the solution you'd like Script should.

  1. Connect to shibyua.
  2. call marketplace.factory
  3. output new contract address4.
  4. for specified amount of tokens (10 by default)
  5. call psp34.mint()
  6. sample data (IPFS hashes can be taken from some sample.json | sample.ts file)

Additional context Currently blocked by @vikiival as I need to create marketplace contract

vikiival commented 1 year ago

Just for having it here:

Redeployed everything 😊
Marketplace contract: Y4FSKitHwzvv5vaZQeudQcTtXmEan3yp6eRRvYAjwKHiddq
PSS 34 Contracts

### Test 1
* Images ipfs://bafybeigin3park37zwd7gqi6gmo5okmxi5rq2igblla6wgxgzvbihgofuu
* Metadata ipfs://bafybeic4jk7ohax2ge4ws6vl5jwyxenlaejkf5vktbvaam2sra72bdfx6i
* Contract WyQUZSwGbAkdZZbvJXKijZz45qrk83sALoUk3JELn492cfK

### Test 2
* Images ipfs://bafybeihdwa6zff57jmjtsm3b7g6xsk3g4l43vwucbaq4gmbgjl6g3s23da
* Metadata ipfs://bafybeiec35yniqljvb2q7n4cscfohlahbc54tfoa2njl5yuwzidsgsi7qi
* Contract Vytst6Z2YidTL7WGYQzL9wiXqN7Xqc53zLvisctpMDwxyiY

### Test 3
* Images ipfs://bafybeicgjnzd7zp2xm5ysvr3rzj5lrczodhgjkbikwf5hr3nrrp564tsue
* Metadata ipfs://bafybeihxjezj43u4is3mdo5umczwszx55xpqw2orqjjftvmlxnfqcuwlmi
* Contract  XACLLddBjgcRC8dSRsgcXy1KCKn2xzEfb6PUisPTAY3BH5f

### Test 4
* Images ipfs://bafybeiav373f4mwmdhasvnytzwciucypmaz6kvrun62vfnubnbsmqjwfiu
* Metadata ipfs://bafybeibsi2aw3qsgr2pfpzmjnbwxt3xy7layemd3ie6elf5wjj2ehof4ge
* Contract YbRLSapvBHeiCPyYFnp3nPHAPpYqCk5GQSYRkLV15Na74Sw

### Test 5
* Images ipfs://bafybeidivmz2htxjdgazk3vuxrirmbteba2u7mnbf66chtc5cc6e7yboee
* Metadata ipfs://bafybeidewz6ck3zbwj326vg6pdygwvxjzca7isudwyoheuv5ro7wwtntpy
* Contract bUrcwSb9aj4qMcX6F8p39tzRp84LeCCmJC7Egp3JpSCSsEC