-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from evgeniiz321/ezayats/add-neofs-support
Intergrate NeoFS
- Loading branch information
Showing
29 changed files
with
891 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
{"name":null,"version":"1.0","scrypt":{"n":16384,"r":8,"p":8},"accounts":[{"address":"NYwF2kBmTmrnggGYPUuKLiu3xWFCDUJnTX","label":null,"isDefault":false,"lock":false,"key":"6PYLXgdYBcgKHSrkFQzgaSzRNDPTrg9W55uWMdqFiYv3muCyxtt6nBfawP","contract":{"script":"DCEDXNH0auFCisGk0LtdU\u002B2JFVcJ\u002Bednq\u002Bg5pAI0lJStZVBBVuezJw==","parameters":[{"name":"signature","type":"Signature"}],"deployed":false},"extra":null},{"address":"NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm","label":null,"isDefault":false,"lock":false,"key":"6PYLXgdYBcgKHSrkFQzgaSzRNDPTrg9W55uWMdqFiYv3muCyxtt6nBfawP","contract":{"script":"EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6","parameters":[{"name":"parameter0","type":"Signature"},{"name":"parameter1","type":"Signature"},{"name":"parameter2","type":"Signature"}],"deployed":false},"extra":null}],"extra":null} | ||
{ | ||
"name": null, | ||
"version": "1.0", | ||
"scrypt": { | ||
"n": 16384, | ||
"r": 8, | ||
"p": 8 | ||
}, | ||
"accounts": [ | ||
{ | ||
"address": "NYwF2kBmTmrnggGYPUuKLiu3xWFCDUJnTX", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYLXgdYBcgKHSrkFQzgaSzRNDPTrg9W55uWMdqFiYv3muCyxtt6nBfawP", | ||
"contract": { | ||
"script": "DCEDXNH0auFCisGk0LtdU\u002B2JFVcJ\u002Bednq\u002Bg5pAI0lJStZVBBVuezJw==", | ||
"parameters": [ | ||
{ | ||
"name": "signature", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
}, | ||
{ | ||
"address": "NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYLXgdYBcgKHSrkFQzgaSzRNDPTrg9W55uWMdqFiYv3muCyxtt6nBfawP", | ||
"contract": { | ||
"script": "EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6", | ||
"parameters": [ | ||
{ | ||
"name": "parameter0", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter1", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter2", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
} | ||
], | ||
"extra": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
{"name":null,"version":"1.0","scrypt":{"n":16384,"r":8,"p":8},"accounts":[{"address":"Nii9kBJ3p9EVCVAsiQTvDpk5GsTZxWADSm","label":null,"isDefault":false,"lock":false,"key":"6PYQSMuevDXx6AdiuPkoKTH4RdedSK5NQV6Dg2qz8MMBQnysJvT8UwY3aA","contract":{"script":"DCECjbtCkzn/hcvwygX29QqapyAROMpkWKXjx4Nn\u002BQS4nS9BVuezJw==","parameters":[{"name":"signature","type":"Signature"}],"deployed":false},"extra":null},{"address":"NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm","label":null,"isDefault":false,"lock":false,"key":"6PYLXgdYBcgKHSrkFQzgaSzRNDPTrg9W55uWMdqFiYv3muCyxtt6nBfawP","contract":{"script":"EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6","parameters":[{"name":"parameter0","type":"Signature"},{"name":"parameter1","type":"Signature"},{"name":"parameter2","type":"Signature"}],"deployed":false},"extra":null}],"extra":null} | ||
{ | ||
"name": null, | ||
"version": "1.0", | ||
"scrypt": { | ||
"n": 16384, | ||
"r": 8, | ||
"p": 8 | ||
}, | ||
"accounts": [ | ||
{ | ||
"address": "Nii9kBJ3p9EVCVAsiQTvDpk5GsTZxWADSm", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYQSMuevDXx6AdiuPkoKTH4RdedSK5NQV6Dg2qz8MMBQnysJvT8UwY3aA", | ||
"contract": { | ||
"script": "DCECjbtCkzn/hcvwygX29QqapyAROMpkWKXjx4Nn\u002BQS4nS9BVuezJw==", | ||
"parameters": [ | ||
{ | ||
"name": "signature", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
}, | ||
{ | ||
"address": "NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYQSMuevDXx6AdiuPkoKTH4RdedSK5NQV6Dg2qz8MMBQnysJvT8UwY3aA", | ||
"contract": { | ||
"script": "EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6", | ||
"parameters": [ | ||
{ | ||
"name": "parameter0", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter1", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter2", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
} | ||
], | ||
"extra": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
{"name":null,"version":"1.0","scrypt":{"n":16384,"r":8,"p":8},"accounts":[{"address":"NbHq1jqbGSWdS4ksRMHK5H2wwhLUFV4iiR","label":null,"isDefault":false,"lock":false,"key":"6PYShBje4RK83KP7akyAV1XQC2AKzq3mGcEfjLnh1JxFashAPCAyRRrLBf","contract":{"script":"DCEDu8SjZSSMllIA15V\u002BJXXhTpMqBPfkP4NMaJu9y3JsRMNBVuezJw==","parameters":[{"name":"signature","type":"Signature"}],"deployed":false},"extra":null},{"address":"NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm","label":null,"isDefault":false,"lock":false,"key":"6PYLXgdYBcgKHSrkFQzgaSzRNDPTrg9W55uWMdqFiYv3muCyxtt6nBfawP","contract":{"script":"EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6","parameters":[{"name":"parameter0","type":"Signature"},{"name":"parameter1","type":"Signature"},{"name":"parameter2","type":"Signature"}],"deployed":false},"extra":null}],"extra":null} | ||
{ | ||
"name": null, | ||
"version": "1.0", | ||
"scrypt": { | ||
"n": 16384, | ||
"r": 8, | ||
"p": 8 | ||
}, | ||
"accounts": [ | ||
{ | ||
"address": "NbHq1jqbGSWdS4ksRMHK5H2wwhLUFV4iiR", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYShBje4RK83KP7akyAV1XQC2AKzq3mGcEfjLnh1JxFashAPCAyRRrLBf", | ||
"contract": { | ||
"script": "DCEDu8SjZSSMllIA15V\u002BJXXhTpMqBPfkP4NMaJu9y3JsRMNBVuezJw==", | ||
"parameters": [ | ||
{ | ||
"name": "signature", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
}, | ||
{ | ||
"address": "NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYShBje4RK83KP7akyAV1XQC2AKzq3mGcEfjLnh1JxFashAPCAyRRrLBf", | ||
"contract": { | ||
"script": "EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6", | ||
"parameters": [ | ||
{ | ||
"name": "parameter0", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter1", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter2", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
} | ||
], | ||
"extra": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
{"name":null,"version":"1.0","scrypt":{"n":16384,"r":8,"p":8},"accounts":[{"address":"NVbsa9tHHwLdAh1g1YiA8nPSR8yf4x3ubm","label":null,"isDefault":false,"lock":false,"key":"6PYK6catsTacNKLPwrh23asihVxVZyq4dBBomqi3Hxgyg8K5uCs2qDoue2","contract":{"script":"DCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1ItBVuezJw==","parameters":[{"name":"signature","type":"Signature"}],"deployed":false},"extra":null},{"address":"NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm","label":null,"isDefault":false,"lock":false,"key":"6PYLXgdYBcgKHSrkFQzgaSzRNDPTrg9W55uWMdqFiYv3muCyxtt6nBfawP","contract":{"script":"EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6","parameters":[{"name":"parameter0","type":"Signature"},{"name":"parameter1","type":"Signature"},{"name":"parameter2","type":"Signature"}],"deployed":false},"extra":null}],"extra":null} | ||
{ | ||
"name": null, | ||
"version": "1.0", | ||
"scrypt": { | ||
"n": 16384, | ||
"r": 8, | ||
"p": 8 | ||
}, | ||
"accounts": [ | ||
{ | ||
"address": "NVbsa9tHHwLdAh1g1YiA8nPSR8yf4x3ubm", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYK6catsTacNKLPwrh23asihVxVZyq4dBBomqi3Hxgyg8K5uCs2qDoue2", | ||
"contract": { | ||
"script": "DCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1ItBVuezJw==", | ||
"parameters": [ | ||
{ | ||
"name": "signature", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
}, | ||
{ | ||
"address": "NforeidHBjJDK6sGdxiAMRfQwW8UnkwMFm", | ||
"label": null, | ||
"isDefault": false, | ||
"lock": false, | ||
"key": "6PYK6catsTacNKLPwrh23asihVxVZyq4dBBomqi3Hxgyg8K5uCs2qDoue2", | ||
"contract": { | ||
"script": "EwwhA1zR9GrhQorBpNC7XVPtiRVXCfnnZ6voOaQCNJSUrWVQDCECf8MjXSSxDgcBAltpaDPynqOMmq6A4Ts92U0Aqsmw1IsMIQKNu0KTOf\u002BFy/DKBfb1CpqnIBE4ymRYpePHg2f5BLidLwwhA7vEo2UkjJZSANeVfiV14U6TKgT35D\u002BDTGibvctybETDFEGe0Nw6", | ||
"parameters": [ | ||
{ | ||
"name": "parameter0", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter1", | ||
"type": "Signature" | ||
}, | ||
{ | ||
"name": "parameter2", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"extra": null | ||
} | ||
], | ||
"extra": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
networks: | ||
private_net: | ||
external: true | ||
|
||
services: | ||
neofs-main-chain: | ||
image: nspccdev/neo-go:0.106.3 | ||
container_name: neofs-main-chain | ||
command: ["node", "--config-path", "/config", "--privnet", "--debug"] | ||
ports: | ||
- "5000:5000" | ||
- "5001:5001" | ||
healthcheck: | ||
test: [ "CMD", "/neo-go", "query", "height", "-r", "http://127.0.0.1:5000" ] | ||
interval: 5s | ||
timeout: 1s | ||
retries: 5 | ||
start_period: 5s | ||
hostname: neofs-main-chain | ||
restart: "no" | ||
networks: | ||
- private_net | ||
stop_signal: SIGKILL | ||
volumes: | ||
# config file | ||
- ./protocol.privnet.yml:/config/protocol.privnet.yml | ||
# wallet of this node | ||
- ./neofs-main-chain-wallet.json:/wallets/neofs-main-chain-wallet.json | ||
# wallets of neocompiler nodes | ||
- ../../Neo.CLI/wallets/wallet1.json:/wallets/wallet1.json | ||
- ../../Neo.CLI/wallets/wallet2.json:/wallets/wallet2.json | ||
- ../../Neo.CLI/wallets/wallet3.json:/wallets/wallet3.json | ||
# multipurpose wallet | ||
- ../multipurpose-wallet/wallet.json:/wallets/multipurpose-wallet.json | ||
# wallets' configs | ||
- ./neofs-main-chain-wallet-config.yml:/wallets/neofs-main-chain-wallet-config.yml | ||
- ./neo-wallet1-config.yml:/wallets/neo-wallet1-config.yml | ||
- ./neo-wallet2-config.yml:/wallets/neo-wallet2-config.yml | ||
- ./neo-wallet3-config.yml:/wallets/neo-wallet3-config.yml | ||
- ../multipurpose-wallet/config.yml:/wallets/multipurpose-wallet-config.yml | ||
# binaries and directory with neofs-contract | ||
- ../neo-go:/neo-go | ||
- ../neofs-cli:/neofs-cli | ||
- ../neofs-contract:/neofs-contract |
4 changes: 4 additions & 0 deletions
4
docker-compose-eco-network/NeoFS/chain/neo-wallet1-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
|
||
Path: "/wallets/wallet1.json" | ||
Password: "one" |
4 changes: 4 additions & 0 deletions
4
docker-compose-eco-network/NeoFS/chain/neo-wallet2-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
|
||
Path: "/wallets/wallet2.json" | ||
Password: "one" |
4 changes: 4 additions & 0 deletions
4
docker-compose-eco-network/NeoFS/chain/neo-wallet3-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
|
||
Path: "/wallets/wallet3.json" | ||
Password: "one" |
4 changes: 4 additions & 0 deletions
4
docker-compose-eco-network/NeoFS/chain/neofs-main-chain-wallet-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
|
||
Path: "/wallets/neofs-main-chain-wallet.json" | ||
Password: "one" |
50 changes: 50 additions & 0 deletions
50
docker-compose-eco-network/NeoFS/chain/neofs-main-chain-wallet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"version": "3.0", | ||
"name":null, | ||
"accounts": [ | ||
{ | ||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", | ||
"key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", | ||
"label": "single", | ||
"contract": { | ||
"script": "DCECs2Ir9AF73+MXxYrtX0x1PyBrfbiWBG+n13S7xL9/jcJBVuezJw==", | ||
"parameters": [ | ||
{ | ||
"name": "parameter0", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"lock": false, | ||
"extra":null, | ||
"isDefault": false | ||
}, | ||
{ | ||
"address": "NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP", | ||
"key": "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY", | ||
"label": "consensus", | ||
"contract": { | ||
"script": "EQwhArNiK/QBe9/jF8WK7V9MdT8ga324lgRvp9d0u8S/f43CEUGe0Nw6", | ||
"parameters": [ | ||
{ | ||
"name": "parameter0", | ||
"type": "Signature" | ||
} | ||
], | ||
"deployed": false | ||
}, | ||
"lock": false, | ||
"extra":null, | ||
"isDefault": false | ||
} | ||
], | ||
"scrypt": { | ||
"n": 16384, | ||
"r": 8, | ||
"p": 8 | ||
}, | ||
"extra": { | ||
"Tokens": null | ||
} | ||
} |
Oops, something went wrong.