Skip to content

Commit

Permalink
Changed the token policies according to new updates
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroreinel committed Aug 11, 2023
1 parent e4409d9 commit 4af1afc
Showing 1 changed file with 4 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The token details should be entered as a JSON object with the following fields:
random URL to ensure uniqueness. For example, you could add a random string to
the end of a base URL, like "https://example.org/randomstring".
- `precision`: Set this to 0 for an NFT (Non-Fungible Token).
- `policies`: This is an object that includes various policy settings for the
- `policies`: This is an array that includes various policy settings for the
token. For now, we will only set the `non-fungible-policy` to true, indicating
that the token is an NFT. The other policy settings are more advanced and will
be left blank for now.
Expand All @@ -65,16 +65,7 @@ Here's an example of what the JSON object might look like:
{
"uri": "https://example.org/randomstring",
"precision": 0,
"policies": {
"concrete-policies": {
"quote-policy": false,
"non-fungible-policy": true,
"royalty-policy": false,
"collection-policy": false
},
"immutable-policies": [],
"adjustable-policies": []
}
"policies": []
}
```

Expand Down Expand Up @@ -112,20 +103,8 @@ you'll need to enter the following information:
2. **Precision**: Enter `0`, just like you did when creating the token ID.
3. **URL**: Use the same URL you used when creating the token ID. In our
example, it was `https://example.org/randomstring`.
4. **Policies**: Paste in the policies document. It should look like this:

```json
{
"concrete-policies": {
"quote-policy": false,
"non-fungible-policy": true,
"royalty-policy": false,
"collection-policy": false
},
"immutable-policies": [],
"adjustable-policies": []
}
```
4. **Policies**: In this field you can add some of the default or custom policies
that you want to apply to the token. For now, we will leave this with an empty Array.

This comment has been minimized.

Copy link
@nillo

nillo Aug 12, 2023

Contributor

Don’t forget the update the matching images with the new scheme, ( removing the object adding the array within the commands )

This comment has been minimized.

Copy link
@nillo

nillo Aug 12, 2023

Contributor

Don’t forget the update the matching images with the new scheme, ( removing the object adding the array within the commands )


Next, go to the Configuration tab. Like last time, paste your account name and
change the gas settings to match the screenshot below.
Expand Down

0 comments on commit 4af1afc

Please sign in to comment.