Example for adding to the token index #2

Open
opened 2024-12-05 06:15:34 +01:00 by kamikazechaser · 0 comments
  1. Add your key as a writer

cast send --gas-limit 1000000 --gas-price 35gwei --priority-gas-price 10wei --private-key $PRIVATE_KEY_WHICH_DEPLOYED_THE_TOKEN_INDEX $TOKEN_INDEX_ADDRESS "addWriter(address)" $YOUR_PUBLIC_KEY

  1. Add a token to the index

cast send --gas-limit 1000000 --gas-price 35gwei --priority-gas-price 10wei --private-key $KEY_WITH_PERMISSION $TOKEN_INDEX_ADDRESS "add(address)" $TOKEN_ADDRESS

1. Add your key as a writer cast send --gas-limit 1000000 --gas-price 35gwei --priority-gas-price 10wei --private-key $PRIVATE_KEY_WHICH_DEPLOYED_THE_TOKEN_INDEX $TOKEN_INDEX_ADDRESS "addWriter(address)" $YOUR_PUBLIC_KEY 2. Add a token to the index cast send --gas-limit 1000000 --gas-price 35gwei --priority-gas-price 10wei --private-key $KEY_WITH_PERMISSION $TOKEN_INDEX_ADDRESS "add(address)" $TOKEN_ADDRESS
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: urdt/data-seeding-ng#2
No description provided.