-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: at_file_share demo #169
Conversation
} | ||
|
||
Future<String> _getStorjUrl(String atSign, String fileName) async { | ||
var buzzKey = Platform.environment['ATBUZZKEY']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpswan How can we get the key and nonce url to access getToken API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The nonce is retrieved from a getNonce service, and the key is a pre-shared key created for that service instance.
at_file_share/README.md
Outdated
#TODO | ||
|
||
Prerequisite: | ||
1. Storj account and s3 access/secret keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s3 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is access grant with uplink tool. I have made the changes
at_file_share/README.md
Outdated
Prerequisite: | ||
1. Storj account and s3 access/secret keys | ||
1. Login/signup to https://www.storj.io/ | ||
2. Create new project e.g zetta_demo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all references to zetta - suggest change everywhere from zetta to acme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
print(argParser.usage); | ||
} | ||
|
||
void main(List<String> arguments) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the sender and receiver to use the CLIBase class instead, please? See https://github.com/atsign-foundation/at_demos/blob/trunk/at_rpc_demo/bin/arithmetic_client.dart for example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Gary. done
at_file_share/bin/at_file_share.dart
Outdated
..atKeysFilePath = results['atKeysFilePath']; | ||
|
||
if (results['env'] == 'dev') { | ||
atOnboardingPreference.rootDomain = 'vip.ve.atsign.zone'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are using CLIBase, it includes an option to set the root domain so this will be unnecessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
- What I did
- How I did it
- How to verify it