bitshares / bitshares/beet-js

Bitshare Js Transfer failed with error (Not defined in console)

Open
#25 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8
Forks
14
Avg merge
7h 6m
Merged PRs (30d)
2

Description

**I would like to point out that with both Bitshare-Js in raw HTML or using Vue boilerplate I get this error whenever I sign and broadcast the transaction**

### Steps to reproduce it...
```

beet.get("BitShares Transfer Example", "BTS_TEST", true).then(app => {
app.BTS_TEST.transfer(
{
to: "jeevan-jot",
amount:
{
satoshis: 300000,
asset_id: "1.3.0"
}
}
).then(result => {
console.log("Success", result);
}).catch(err => {
console.error(err);
});
}).catch(err => {
console.error(err);
});

```
>Use this html and then make the transaction (Both gives this error BTS_TEST and BTS (Main net))

![2019-05-19 (10)](https://user-images.githubusercontent.com/40867747/57976625-5bca0400-7a02-11e9-82c4-584e5a71316b.png)
![2019-05-19 (11)](https://user-images.githubusercontent.com/40867747/57976624-5b316d80-7a02-11e9-8c9d-e7d7e8ec6f74.png)
![2019-05-19 (13)](https://user-images.githubusercontent.com/40867747/57976623-5b316d80-7a02-11e9-9603-7925758fd233.png)

### and the Vue code is...
```
let app = await this.$beet.connect()
console.log(app.getAccount().name)
console.log(app.getAccount())
app.transfer({
to: this.btsname.toString().trim(),
amount: {
satoshis: parseInt(this.tbts),
asset_id: '1.3.0'
}
})
```
(Sorry for those spaces)

![2019-05-18 (36)](https://user-images.githubusercontent.com/40867747/57976653-b9f6e700-7a02-11e9-8252-2388a1f125a7.png)
![2019-05-18 (34)](https://user-images.githubusercontent.com/40867747/57976654-b9f6e700-7a02-11e9-980c-4eeb7315ef93.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.