Skip to content

Commit

Permalink
chore: minor improvements to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumGrindle committed Jun 10, 2022
1 parent f14b20d commit a3be140
Showing 1 changed file with 22 additions and 29 deletions.
51 changes: 22 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,39 +35,32 @@ const lspFactory = new LSPFactory(provider, {
const myContracts = await lspFactory.UniversalProfile.deploy({
controllerAddresses: ['0x...'], // Address which will controll the UP
lsp3Profile: {
json: {
LSP3Profile: {
name: 'My Universal Profile',
description: 'My cool Universal Profile',
profileImage: [
{
width: 500,
height: 500,
hashFunction: 'keccak256(bytes)',
// bytes32 hex string of the image hash
hash: '0xfdafad027ecfe57eb4ad047b938805d1dec209d6e9f960fc320d7b9b11cbed14',
url: 'ipfs://QmPLqMFHxiUgYAom3Zg4SiwoxDaFcZpHXpCmiDzxrtjSGp',
},
],
backgroundImage: [
{
width: 500,
height: 500,
hashFunction: 'keccak256(bytes)',
// bytes32 hex string of the image hash
hash: '0xfdafad027ecfe57eb4ad047b938805d1dec209d6e9f960fc320d7b9b11cbed14',
url: 'ipfs://QmPLqMFHxiUgYAom3Zg4SiwoxDaFcZpHXpCmiDzxrtjSGp',
},
],
tags: ['Fashion', 'Design'],
links: [{ title: 'My Website', url: 'www.my-website.com' }],
name: 'My Universal Profile',
description: 'My cool Universal Profile',
profileImage: [
{
width: 500,
height: 500,
hashFunction: 'keccak256(bytes)',
hash: '0xfdafad027ecfe57eb4ad047b938805d1dec209d6e9f960fc320d7b9b11cbed14',
url: 'ipfs://QmPLqMFHxiUgYAom3Zg4SiwoxDaFcZpHXpCmiDzxrtjSGp',
},
},
url: '',
],
backgroundImage: [
{
width: 500,
height: 500,
hashFunction: 'keccak256(bytes)',
hash: '0xfdafad027ecfe57eb4ad047b938805d1dec209d6e9f960fc320d7b9b11cbed14',
url: 'ipfs://QmPLqMFHxiUgYAom3Zg4SiwoxDaFcZpHXpCmiDzxrtjSGp',
},
],
tags: ['Fashion', 'Design'],
links: [{ title: 'My Website', url: 'www.my-website.com' }],
},
});

const myUPAddress = myContracts.ERC725Account.address;
const myUPAddress = myContracts.LSP0ERC725Account.address;
```

### Using Deployment events
Expand Down

0 comments on commit a3be140

Please sign in to comment.