bos-cli 0.3.10

Command line utility helps to develop widgets for near.social by allowing developers to use standard developer tools like their best code editor and standard tools for source code version control, and then deploy their widgets to SocialDB in one command.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::str::FromStr;

use lazy_static::lazy_static;

lazy_static! {
    pub static ref NEAR_SOCIAL_ACCOUNT_ID: std::collections::HashMap<&'static str, near_primitives::types::AccountId> =
        std::collections::HashMap::from([
            (
                "mainnet",
                near_primitives::types::AccountId::from_str("social.near").unwrap()
            ),
            (
                "testnet",
                near_primitives::types::AccountId::from_str("v1.social08.testnet").unwrap()
            ),
        ]);
}